Precisely. If you do not print anything extra, the output will be the same as required.
my lecturer just said that the output must be the same as posted...
Do not printf() anything other than the required output. Just start reading immediately. The user is assumed to know what to input.
i'm finding trouble how to obtain the value for hour since i can't printf and ask the user to input it there..
This is an example:
Sure, it looks strange, but perhaps your lecturer will do I/O re-direction (if you do not know what that is, just ignore it for now).
printf("You entered %d\n", x);