#include <stdio.h> int main(void) { int a=0,b; scanf("%d",&b); while(a<b){ a=a+1; printf("%d",a); } return 0;}
10
12345678910
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!