m2skills

factorial op

May 31st, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. Enter the number : 12
  2. Factorial of 12 is 479001600
  3. Do you want to continue (1/0) : 1
  4.  
  5. Enter the number : 14
  6. Factorial of 14 is 87178291200
  7. Do you want to continue (1/0) : 1
  8.  
  9. Enter the number : 0
  10. Factorial of 0 is 1
  11. Do you want to continue (1/0) : 1
  12.  
  13. Enter the number : 1
  14. Factorial of 1 is 1
  15. Do you want to continue (1/0) : 0
  16.  
  17. >>>
Add Comment
Please, Sign In to add comment