This preview shows page 1. Sign up to view the full content.
Unformatted text preview: cout<< The time interval between << previous<< and current<<endl << is << hours<< hours and <<minutes<< minutes. \n; In the program that uses your revised version of the DigitalTime ADT, this code should produce the following output Allow the time given by the first argument to be later in the day then the time of the calling object. In this case, the time given as the first argument is assumed to be on the previous day. You should also write a program to test this revised ADT class. The time interval between 2:30 and 5:45 is 3 hours and 15 minutes...
View Full Document