main(i) { for(i = 1; i < 10; ++i) printf("%d\n", (i/2) - (2/i)); }
Standard input is empty
-2 0 1 2 2 3 3 4 4
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!