Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The language C++ on linux. Implement neatly and separate files of code 1. Design a PayRoll class that has data members for an employees name,
The language C++ on linux. Implement neatly and separate files of code
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 getTotalO double getRate; double getHoursO; void setRate (double); void setName (string)Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started