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