Friday, February 1, 2019

URI 1153:: SOLUTION

URI Online Judge | 1153

Simple Factorial

Read a value N. Calculate and write its corresponding factorial. Factorial of N = N * (N-1) * (N-2) * (N-3) * ... * 1.

Input

The input contains an integer value N (0 < N < 13).

Output

The output contains an integer value corresponding to the factorial of N.
Input SampleOutput Sample
424



[WAIT]
     First of all, think yourself that you have tried enough for the problem. If you did not please read the program once. REMEMBER one thing, just believe in yourself.....YOU CAN.....YOU KNOW....



See the ANSWER here...
                                                                 

No comments:

Post a Comment