fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4.  
  5. int a,b;
  6.  
  7. for(a=10; a<100; a++){
  8.  
  9. if((a%2!=0)&&(a%3!=0)&&(a%5!=0)&&(a%7!=0))
  10.  
  11.  
  12. printf("%d\n",a);}
  13. return 0;
  14. }
  15.  
Success #stdin #stdout 0s 5312KB
stdin
Standard input is empty
stdout
11
13
17
19
23
29
31
37
41
43
47
53
59
61
67
71
73
79
83
89
97