Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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 image text in transcribed
image text in transcribed
image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Driven Web Sites

Authors: Mike Morrison, Joline Morrison

1st Edition

061901556X, 978-0619015565

More Books

Students also viewed these Databases questions

Question

2. Identify the purpose of your speech

Answered: 1 week ago