(Solved):In C++, design a class named Time. The class contains the data fields hour, minute, and second, which represent a time. A no-arg constructor creates a Time object for the current time. A constructo… View Answer…

 

Question

In C++, design a class named Time. The class contains the data fields hour, minute, and second, which represent a time. A no-arg constructor creates a Time object for the current time. A constructor constructs a Time object with a specified elapsed time, in seconds, since midnight on January 1, 1970. A constructor constructs a Time object with a specified hour, minute, and second. There are rhree get functions for

Scroll to top