Guest User

Untitled

a guest
Feb 14th, 2016
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.14 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5.     int f = 1;
  6.     int n = 5;
  7.     for (int i = n; n > 0; f *= i, i -= 1) {}
  8.     printf("%d", f);
  9. }
Add Comment
Please, Sign In to add comment