Question PSC-FUNC-0028
EasyWhat does the following pseudocode print?
Function digits(Integer n)
if (n < 10)
return 1
end if
return 1 + digits(n / 10)
End Function
Print digits(50213)
- A.
4
- B.
11
- C.
Sign up free to see the answer and a step-by-step explanation.