Advertisement
dzieciol

Labolatorium III zadanie 3

Nov 5th, 2015
419
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.24 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main()
  5. {int i,pom,wyn=1;
  6.     printf("wprowadz liczbe której silnie chcesz policzyc\n");
  7.     scanf("%d",&pom);
  8.     for (i=1;i<=pom;i++)
  9.         wyn=i*wyn;
  10.     printf("%d",wyn);
  11.     return 0;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement