Question: hello, i need help for the code, i need all the members and the function such as input put, if statement in the private class,

hello, i need help for the code, i need all the members and the function such as input put, if statement in the private class, only output ( print the final answer which is equal or unequal )in the public, but the helper give me the code is not what I need! please help me  hello, i need help for the code, i need all the
members and the function such as input put, if statement in the
private class, only output ( print the final answer which is equal

include using namespace std; class TimeofDay private int hours: int minutes int seconds: public: vold output(): void seturint): void setminutes(int): void s econds(int): int get minute: int gethours int getseconds: int main TimeDay times 4: int : for(i-01 ) cou n ter the hour: cinh: timeslijsthours cou n ter the minutes: ". timeslil setminutes) cout>h: timesli.setheurs(h): coutm: times setminutes ): cout "InEnter the seconds: times[i].setseconds(s): timesfiloutput: if(times01.gethours) times .getheur) && times .getminutes() times I getminutes()&& timesol getseconds times1l.getseconds) cout

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!