Find the factorial of a number using iteration. Calculate factorial of 7.
MediumProblem Statement
Find the factorial of a number using iteration. Calculate factorial of 7.
Sample Input
7
Sample Output
Factorial of 7 is 5040
Limits
Time: 2s · Memory: 256 MB