Given a Recursive fumction below;
fumction f ( x, n : integer ) : integer ;
Begin
if n= 1 then f := x
else f :=x*f ( x,n-1 )
end ;
Find
(a) The funmation valne f ( x,5 )
(b) The number of recursive calls in evaluating f (x,5)
收錄日期: 2021-04-30 13:08:07
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20090403000015KK02938