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