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