Lab 06
Too Much Time
Objective:
Write a program that converts a given time to seconds, adds a number of seconds given by the user, and finally displays the new time. The time is entered in the format hours:minutes:seconds, and the results should display the same.
Example Dialog:
Enter a time in the following format "hours:minutes:seconds" and I will give you the time in seconds
10:01:30
The number of seconds are 36090
Enter a number of seconds to add
120
The new time is 10:3:30
Finally:
Upload the .java file to the dropbox