Question PSC-FUNC-0047
MediumWhat does the following pseudocode print?
Function count(Integer n)
if (n == 0)
return 0
end if
return count(n / 2) + 1
End Function
Print count(100)
- A.
100
- B.
6
- C.
Sign up free to see the answer and a step-by-step explanation.