Uncategorized
Enhance Programming Exercise
a. Returns the elapsed time of the day of a clock in seconds.
b. Returns the remaining time of the day of a clock in seconds.
c. Determines and outputs how far apart in time two clocks are. Outputs the time in the form hr:min:sec. Also write a program to test your class.
Enhance Programming Exercise 9 by adding functions to the class clockType so that a program that uses this class can perform the following operations:
a. Returns the elapsed time of the day of a clock in seconds.
b. Returns the remaining time of the day of a clock in seconds.
c. Determines and outputs how far apart in time two clocks are. Outputs the time in the form hr:min:sec. Also write a program to test your class.
