Guest User

Untitled

a guest
May 20th, 2018
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. You are given an integer N. Print the factorial of N, as defined below.
  2.  
  3. N! = N * (N-1) * (N-2) * ... * 3 * 2 * 1
  4.  
  5. **Input**
  6.  
  7. Input is a single integer N, where 1 <= N <= 100.
  8.  
  9. **Output**
  10.  
  11. Print the factorial of N.
  12.  
  13. **Example**
  14.  
  15. For an input N = 25, output will be 15511210043330985984000000.
Add Comment
Please, Sign In to add comment