Advertisement
sathi_talukder

Untitled

Feb 24th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5. int i, num;
  6. unsigned long long num1=1LL;
  7. scanf("%d", &num);
  8. for(i=1; i<=num; i++)
  9. {
  10. num1 = num1 * i;
  11. }
  12.  
  13. printf("%d = %llu", num, num1);
  14.  
  15. return 0;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement