Question: The C++ language, implement neatly with .h and .cpp files then show output 1. Design a PayRoll class that has data members for an employees
The C++ language, implement neatly with .h and .cpp files then show output



1. Design a PayRoll class that has data members for an employees name, hourly pay rate, number of hours worked, and total pay for the week (a) You may modify the PayRoll class you designed last lab! (This may already be complete from Lab 3, but you should double-check your implementation.) (b) The PayRol class should implement the following prototype: class PayRoll f private string name; double rate; double hours; public: // Default Constructor PayRoll); // Constructor with passed values PayRoll (string, double, double) // Prints the check information for the employee void printCheck ); // Standard mutators double getTotal (O); double getRate; double getHoursO; void setRate (double); void setName (string)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
