Write a program that accepts a time as an hour and minute. Add 15 minutes to the time, and output the result.
Example 1:
Enter the hour: 8
Enter the minute: 15
It displays:
Hours: 8
Minutes: 30
Example 2:
Enter the hour: 9
Enter the minute: 46
It displays:
Hours: 10
Minutes: 1
1
Expert's answer
2019-10-03T02:19:17-0400
Dear eva, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order
Comments
Leave a comment