Recursive Factorial Example
Total Size: 587 B
Created: 8 months ago
Edited: 8 months 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?