Question: 70
(Choose 1 answer)
(See picture)
A. 13
B. 15
C. 125
D. 243
E. None of the other choices is correct
Given the recursive algorithm
procedure P(a: real number, n: positive integer)
if n = 1 then
return 1
else
return a + P(a, n-1)
Find output if a = 3, n = 5.