Guest User

Untitled

a guest
Jun 22nd, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.22 KB | None | 0 0
  1. void main() {
  2.     int i = 20; //no smaller than this
  3.     int j;
  4.  
  5.     while(1) {
  6.         for(j = 19; j > 0; j--) {
  7.             if(i % j != 0) {
  8.                 break;
  9.             }
  10.         }
  11.  
  12.         if(j == 0) {
  13.             break;
  14.         }
  15.  
  16.         i += 20;
  17.     }
  18.  
  19.     printf("%d", i);
  20. }
Add Comment
Please, Sign In to add comment