(Choose 1 answer)
(See picture)
A. 8
B. 9
C. None of the other choices is correct
D. 6
E. 5
Given the recursive algorithm
procedure T(a: real number, n: nonegative integer)if n = 0 then return 1 else return a*T(a, n-1)
Find output if a = 2, n = 3.
Back
Next
vat fini
Finish
Exll
17