Question: Question 0 2 - Time Conversion ( 2 0 points ) Write a program to convert the time from 2 4 - hour notation to
Question Time Conversion points
Write a program to convert the time from hour notation to hour notation and vice versa. Your program must be menu driven, giving the user the choice of converting the time between the two notations and to quit the program. Furthermore, your program must contain at least the following function:
a a function to convert the time from hour notation to hour notation and returns the new time.
b a function to convert the time from hour notation to hour notation and returns the new time.
c a function to display the choices.
d functions to get the input values and returns them.
e functions to display the results. For hour time notation, your program must display AM or PM; for both times, the program must display each of hours, minutes, and second in two digits.
f main function that calls all other functions and allows the user to select from the menu more than one time.
Do not use global variables.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
