Modify The Firm Example From This Chapter Such That All Employees Can Be Given D 1
modify the firm example from this chapter such that all employees can be given different vacation options depending on their classification.Modify the driver program to demonstrate this new Functionality.The Classes and templates are attached so you really only need to set up a polymorphic println in Staff payday method to print the stafflist[count].vacation());.Then in staffmember create an abstract method for an int named vacation.And then for each type of employee define the vacation method to return the number of vacation days for that type of employee. (0 for volunteers, 7 for hourly, 14 for regular, 21 for executives.)
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
