Question: Design a class called teacher that has three data members ( int ID , string name, float teachinghours ) . We want this class to

Design a class called teacher that has three data members (int ID, string name, float teachinghours). We want this class to do following things: a. Create class object and initialize data members. b. Update values for objects data members(ID, name, teachinghours). c. Display teachers information (ID, name, teachinghours). Write each member function prototype in class declaration.

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!