Question: C++ language. Implement neatly. 1. Design a PayRoll class that has data members for an employees nam ne, hourly pay rate, number of hours worked,

C++ language. Implement neatly.

C++ language. Implement neatly. 1. Design a PayRoll class that has data

members for an employees nam ne, hourly pay rate, number of hours

worked, and total pay for the week (a) You may modify the

1. Design a PayRoll class that has data members for an employees nam ne, hourly pay rate, number of hours worked, and total pay for the week (a) You may modify the PayRoll class you designed last lab! (b) The PayRoll class should implement the following prototype: class PayRoll private string name; double rate; double hours; public: PayRol1; // ctor PayRoll(string, double, double); // non-default ctor double getTotal; double getRate); double getHours ); void setRate (double); void setName (string); void setHours (double)

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!