Question: Laboratory Assignment Program 1 // File Time.h class Time public: int hour; // current hour in military time int minute; // current minute in military




Laboratory Assignment Program 1 // File Time.h class Time public: int hour; // current hour in military time int minute; // current minute in military time int second; // current second in military time // set the time to the time specified by the parameters void setTime (int newhour, int newMinute, int newSecond); // return the time to the calling method using the provided 1/ parameters void getTime (int& currhour, int& currMinute, int& currSecond); // increment the current time by one second void increment Time (void); // file Time.cpp #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
