C++ Program to include:
Set the time.
Return the time.
Print the time.
Increment the hour.
Increment the minute.
Increment hour should be able to:
Take an integer parameter, which is the hours to be added and then mod 24 in case the new value is greater than 23. Allowing for any negative integers.
Increment minute should be able to:
Take an integer parameter, which is the minute to be added. Using mod 60 in case the new value is greater than 59. Allowing for any negative integers.
Should have (in addition to the classes above) its own class.
Print, which prints the time zone in addition to the time constructor.
Main should be able to:
Test the member functions of each of the parent and the child class by instantiating objects of these classes and calling the appropriate functions.