// Timeclass.h #ifndef TIME_H #define TIME_H class Time// { public: Time(int ho, int mi, int se); Time();//Default constructor - initialize to 0 when no arguments are given void setHour(int ho); void setMinute(int mi); void setSecond(int se); int getHour(); int getMinute(); int getSecond(); void showTime12(); void showTime24(); private: int hour; //Should be between 0 and 23. int minute;//Should be between 0 and 59 int second;//Should be between 0 and 59 }; #endif