Factorial!
Practice
3.9 (2383 votes)
Easy
Problem
73% Success 305401 Attempts 10 Points 1s Time Limit 256MB Memory 1024 KB Max Code
You have been given a positive integer N. You need to find and print the Factorial of this number. The Factorial of a positive integer N refers to the product of all number in the range from 1 to N. You can read more about the factorial of a number here.
Input Format:
The first and only line of the input contains a single integer N denoting the number whose factorial you need to find.
Output Format
Output a single line denoting the factorial of the number N.
Constraints
\( 1 \le N \le 10\)
Submissions
Please login to view your submissions
Similar Problems
Points:10
1585 votes
Tags:
Easy
Points:10
2539 votes
Tags:
Easy
Points:10
2431 votes
Tags:
Easy
Editorial