Question: 1 Objectives 1. Practice using C+ classes 2. Develop familiarity with linked lists, and dynamic memory 2 Description You should read the entire set of


1 Objectives 1. Practice using C+ classes 2. Develop familiarity with linked lists, and dynamic memory 2 Description You should read the entire set of instructions before beginning the lab. You will expand upon the PayRoll class you developed in the last lab. One possible application of this class is that, if you were the manager of a company, you would benefit from software which stores and processes your employees and their data, helping you to manage their paychecks each week. Instead of an array - which you would have seen can be very brittle to use-you will store several PayRoll objects in a linked list, then use that list to generate the paychecks for each employee stored in the list 3 sks 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! (b) The PayRoll class should implement the following prototy class PayRoll private: string name; double rate; double hours; public: PayRol1: 1/ ctor PayRoll (string, double, double): 17 non-default ctor double getTotalO 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
