For Loop. Typical tasks




Task
Time limit: 1000 ms,
Memory limit: 256 Mb

By integer natural  \(N\) calculate \(N!\) – multiplication of all natural numbers from 1 to N (\( N!=1 \cdot 2 \cdot 3 \cdot …\cdot N\) ).

Input
Integer 1<=N<=12.
Ouput
print \(N!\)

Examples
Input Output
1 5 120

Auto CHOOSE THE PROGRAMMING NECESSARY LANGUAGE!
Attach the program source file:
or enter the source code in the language:

Rules for designing programs and a list of errors during automatic task verification
           

Results: