#include <stdio.h> int main(void) { int i; for(i=0; i< 10; i++) if(i%2 == 0) printf("%d\n", i);}
Standard input is empty
0 2 4 6 8
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!