Question: Write a header file, implementation file, and main program in which you create a Clock class, and then use your class in a menu -
Write a header file, implementation file, and main program in which you create a Clock class, and then use your class in a menudriven program. The menu should contain:
Set the Time
Display the Current Time
Advance One Hour
Advance One Minute
Quit
Time should be displayed and entered in the following format: :
Data will not be stored in this format. You will need to store the hour, minute, and flag separately.
When data is entered in this format, it is up to you, the programmer, to parse this string and process it accordingly making sure the data is good
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
