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.



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
Get step-by-step solutions from verified subject matter experts
