The function is supposed to prompt a user for input, and then return a value, however it keeps hanging.
int foo(void) { printf("Enter a number: "