#include <stdio.h> int main(void) { char num1[80]; printf("Enter: "); gets(num1); printf("\nYou enter: %d\n", atoi(num1));}
12345
Enter: You enter: 12345
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!