Recursive Factorial Example
Total Size: 587 B
Created: 5 years ago
Edited: 5 years ago
An example of a recursive function to calculate the factorial of a number.
The output of the script would be:
Enter a number to find factorial: 4 Factorial of 4 = 24
Are you sure you want to delete?