Factorial
Submit solution
Java
Points:
10 (partial)
Time limit:
1.0s
Memory limit:
64M
Author:
Problem type
Allowed languages
TASK
Write a program to compute the factorial of a given integer
Input Format:
This program requires an integer as input
Output Format:
The factorial of the given integer should be printed
Sample Input
5
Sample Output:
120
Comments