Factorial 2
InterviewTime limit1sMemory limit1024 MB
Given an integer N from 0 to 20, the task is to print N factorial.
- Level
Easy1 of 10
- Topics
- Math, Implementation
- Solved
- No attempts yet
Problem
An integer N greater than or equal to 0 is given. Write a program that prints N!.
Input
The first line contains an integer N (0 ≤ N ≤ 20).
Output
Print N! on the first line.