Advertisement
joyonto511

problem - 1

Apr 2nd, 2021
469
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.  
  3. int main()
  4. {
  5.     int i;
  6.  
  7.     for (i=0; i<= 100; i++) {
  8.  
  9.         if (i % 10 != 0){
  10.             if (i%5==0 && i%3==0){
  11.                 printf("%d\n", i);
  12.             }  
  13.         }
  14.     }
  15.    
  16.     return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement