Menu

[solved] – Question 99819

Write a program that accepts a time as an hour and minute. Add 15 minutes to the time, and output the results.

Sample Run 1
Enter the hour: 8
Enter the minute: 15

Sample Output 1
Hours: 8
Minutes: 30

Sample Run 2
Enter the hour: 9
Enter the minute: 46

Sample Output 2
Hours: 10
Minutes: 1

Expert Answer


OR


Leave a Reply

Your email address will not be published. Required fields are marked *