pSkpt

1'den 50'ye 3'ün katları

Apr 23rd, 2013
105
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. main(){
  3.  
  4.     int basla = 1;
  5.  
  6.     while(basla<=50){
  7.        
  8.         if(basla % 3 == 0){
  9.            
  10.             printf("%d\n",basla);
  11.            
  12.         }
  13.        
  14.         basla++;
  15.        
  16.     }
  17.  
  18.     getchar();
  19. }
Advertisement
Add Comment
Please, Sign In to add comment