Question PSC-FUNC-0033
EasyWhat will be printed by the following pseudocode?
Function h(Integer n)
if (n <= 0)
return 0
end if
return n + h(n - 2)
End Function
Print h(7)
- A.
7
- B.
28
- C.
Sign up free to see the answer and a step-by-step explanation.