Question: in C thanks. User scanf( to read in an integer input between 0 and 24, where the input is the hour of the day in
User scanf( to read in an integer input between 0 and 24, where the input is the hour of the day in military time. Print the following for each case: if input is between 6 and 11 (inclusive), then print morning. if input is between 12 and 17 (inclusive), then print afternoon. if input is between 18 and 24 (inclusive), then print evening. Otherwise, if input is between 1 and 5 (inclusive), then print small hours. Example Output: Enter time between 0 and 24: 7 morning Enter time between 0 and 24: 24 evening
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
