Question PSC-FUNC-0041
MediumWhat does the following pseudocode print?
Function f(Integer n)
if (n <= 1)
return 1
end if
return n * f(n - 2)
End Function
Print f(7)
- A.
105
- B.
5040
- C.
Sign up free to see the answer and a step-by-step explanation.