Question PSC-FUNC-0057
MediumWhat is the output of this pseudocode?
Function m(Integer a, Integer b)
if (a == 0)
return 0
end if
return b + m(a - 1, b)
End Function
Print m(6, 7)
- A.
13
- B.
42
- C.
36
- D.
49
Sign up free to see the answer and a step-by-step explanation.