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