Write an R program to calculate the factorial of a number using recursion.
EasyProblem Statement
Write an R program to calculate the factorial of a number using recursion.
Sample Input
Number: 5
Sample Output
Factorial: 120
Limits
Time: 2s · Memory: 256 MB