Question: TIME PROBLEM 4. Write a Java program that reads the number of hours, minutes and seconds in military time. The program should allow the user
TIME PROBLEM 4. Write a Java program that reads the number of hours, minutes and seconds in military time. The program should allow the user to increment the numbers of hours, minutes or seconds. The program will have a reset 00 :00:00. Also provide the option to print the time in military or standard time of time. Here is an example of the program MAIN MENU 1. Increment seconds 2. Increment minutes 3. Increment hour 4 Reset time rint time in standard form 6. Print time in military form 7 Quit program Enter your choice
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
