Question: ailed Answer Assuming we want to write a software that contains payroll information of employees in a company a) [5pts] All 1) employees are people,
ailed Answer Assuming we want to write a software that contains payroll information of employees in a company a) [5pts] All 1) employees are people, therefore Person is obviously a base class. What information will this class contain? [5 pts] Suppose this company has employees who are paid hourly (HourlyWorkers) and some who get biweekly wages of hours worked (WageWorkers). What information is maintained in class HourlyWorkers and WageWorkers? b) regardless of the number c) [10 pts] Draw an inheritance diagram to show the base and derived classes. d) [15 ptsj Write header files for each one of the three classes to show the constructors, destructors, member variables and member functions
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
