SyntaxFix
Write A Post
Hire A Developer
Questions
You could try writing to stderr, rather than stdout.
fprintf(stderr, "Hello, please enter your age\n");
You should also have a look at this relevant thread.