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