Reference no: EM132504921
Assignment: For this assignment, you will work on the Employee class hierarchy by adding support for the following:
1. Allow an Employee to have a different Benefit Package Level at object construction with the following requirements:
• By default, an Employees starts at the Standard Benefit Package Level, unless specified differently at object construction time
• Change ComputePayDeduction to depend on Benefit Package Level, using 125.00, 150.00, and 200.00 for Standard, Gold, and Platinum, respectively
• Add Benefit Package Level to DisplayStats
2. Add a GivePromotion method to the Employee class with the following requirements:
• A promotion bumps the Benefit Package Level one level for all Employees when possible (i.e., Standard to Gold or Gold to Platinum) - this is the only way the BenefitPackageLevel can change after object construction
• A Manager and Engineer get an extra 600 bonus on promotion and a SalesPerson and SupportPerson get an extra 300 bonus on promotion
Note: we define 'bonus' as an increase to Employee's Pay
• Print out promotion message to the console at promotion time
3. Create a new, static Main method on the Program class that uses the code below. Make sure to uncomment code if you do any of the extra credit.