Page 1 of 1

Which of the following recursive formula can be used to find the factorial of a number?

Posted: Wed Jul 13, 2022 6:16 pm
by answerhappygod
a) fact(n) = n * fact(n)
b) fact(n) = n * fact(n+1)
c) fact(n) = n * fact(n-1)
d) fact(n) = n * fact(1)