Wait for input...

Or you could use "atoi ()", though you still need some editing to cope with backspace or stuff like that.