fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main () {
  4. int x = 0;
  5. while (x < 10) {
  6. printf("%d\n", x);
  7. if (x % 2 == 0) {
  8. x++;
  9. continue;
  10. }
  11. x++;
  12. }
  13. return 0;
  14. }
Success #stdin #stdout 0s 2156KB
stdin
Standard input is empty
stdout
0
1
2
3
4
5
6
7
8
9