Implement a program to calculate the factorial of a number.
EasyProblem Statement
Implement a program to calculate the factorial of a number.
Sample Input
n = 5
Sample Output
Factorial = 120
Limits
Time: 2s · Memory: 256 MB
Implement a program to calculate the factorial of a number.
n = 5
Factorial = 120
Time: 2s · Memory: 256 MB