fork download
  1. #include <stdio.h>
  2.  
  3. int main() {
  4. for (int i = 1; i <= 100; i++) {
  5. if (i % 3 != 0) {
  6. continue; //아래 printf를 무시하고 바로 i++(다음 차례)로 이동!
  7. }
  8. printf("%d ", i);
  9. }
  10. return 0;
  11. }
  12.  
Success #stdin #stdout 0s 5312KB
stdin
Standard input is empty
stdout
3 6 9 12 15 18 21 24 27 30 33 36 39 42 45 48 51 54 57 60 63 66 69 72 75 78 81 84 87 90 93 96 99