Use Following Class Definition Answer Questions Quiz C Class Time Public Time Int Int Int Q37117499

Use the following class definition to answer the questions onthis quiz in C++

class Time { public: Time( int, int, int ); //Initializes a Time object void setHour( int ); //Set hour data member to a value between 1 and 12 void setMinute( int ); //Set minute data member to a value between 0 and 59 void setSecond( int ); //Set second data member to a value between 0 and 59

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.