Advertisement
Kajoj

Std15.10.22_7

Oct 22nd, 2015
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.17 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5.     int n;
  6.     printf("Podaj liczbe: ");
  7.     scanf("%d",&n);
  8.     for (int i=1; i<101;i++)
  9.       if (i%n==0)
  10.         printf("%d ",i);
  11.     return 0;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement