Question: Please solve this in C++ .Thanks Data Abstraction and Problem Solving with C++ 6th ed page 115 Design and implement an ADT that represents the

Please solve this in C++ .Thanks
Data Abstraction and Problem Solving with C++ 6th ed page 115 Design and implement an ADT that represents the time of day. Represent the time as hours and minutes on a 24-hour clock. The hours and minutes are the private data members of the class that implements the ADT. Include at least two initialization operations: one that provides a default value for the time, and another that sets the time to a client- supplied value. These operations are the class's constructors. Also include operations that set the time, increase the present time by a number of minutes, and display the time in 12-hour and 24-hour notations. Demonstrate your ADT in a main function. Input o The ADT includes interfaces for set the time and increase the present time by a number of minutes. o Users cannot impact non-interface members of the ADT. Processing o The ADT handles various time related math (e.g. increasing time by 60 minutes increases the number of hours displayed by 1) oCorrect use of initialization and constructors Output o The ADT correctly handles different time displays ("display the time in 12-hour and 24-hour notations.")
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
