the code is working BUT the new value entered by the user did not change the recent value..
for case 4 problem
case 4: // add arbitrary seconds
System.out.print( "Enter seconds to...
Type: Posts; User: memyselfandi
the code is working BUT the new value entered by the user did not change the recent value..
for case 4 problem
case 4: // add arbitrary seconds
System.out.print( "Enter seconds to...
must have the output :
Enter the time
Hours: 23
Minutes: 59
Seconds: 59
Hour: 23 Minute: 59 Second: 59
Universal time: 23:59:59 Standard time: 11:59:59 PM
1. Add 1 second
2. Add 1 Minute
// main class
Modify class Time2 to include a tick method that increments the time stored in a Time2 object by one second. Provide method incrementMinute to increment the minute and method...