fork download
  1. #include <stdio.h>
  2.  
  3. int main() {
  4. for (int i = 1; i <= 10; i++) {
  5. if (i % 3 == 0) {
  6. //아래 printf를 무시하고 바로 i++(다음 차례)로 이동!
  7. }
  8. printf("%d ", i);
  9. }
  10. return 0;
  11. }
  12.  
Success #stdin #stdout 0s 5316KB
stdin
Standard input is empty
stdout
1 2 3 4 5 6 7 8 9 10