Question: Write a recursive function that can calculate the factorial of a non-negative whole number. The factorial of a number n is defined as n! where:
Write a recursive function that can calculate the factorial of a non-negative whole number. The factorial of a number n is defined as n! where: If n 0, then n! 1 If n >0, then n! -1x 2x 3 x X n
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
