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

int main() {
    int i = 1;

    while (i <= 20) {
        if (i % 2 != 1) {
            printf("%d\n", i);
        }
        i++;
    }

    return 0;
}