Easy
Recursive Factorial
Write a recursive
fact(n) and print fact(n).Input
One integer 0 ≤ n ≤ 20.
Output
n!
Sample 1
Input
5
Output
120
Sample 2
Input
0
Output
1
Output appears herefact(n) and print fact(n).One integer 0 ≤ n ≤ 20.
n!
5
120
0
1
Output appears here