Question PSC-FUNC-0037
EasyWhat will be printed by the following pseudocode?
Function countDown(Integer n)
if (n == 0)
return 0
end if
return 1 + countDown(n - 1)
End Function
Print countDown(5)
- A.
5
- B.
15
- C.
Sign up free to see the answer and a step-by-step explanation.