Question PSC-FUNC-0044
MediumWhat is the output of this pseudocode?
Function h(Integer n)
if (n == 0)
return
end if
Print n
h(n - 1)
Print n
End Function
h(3)
- A.
1 2 3 3 2 1
- B.
3 2 1
- C.
Sign up free to see the answer and a step-by-step explanation.