Posted on

NOTE This assignment assumes you have already completed Programming Challenges 4 and 5 Write a

NOTE: This assignment assumes you have already completed Programming Challenges 4 and 5. Write a program that uses an instance of the Timeoff class you designed in Programming Challenge 5. The program should ask the user to enter the number of months an employee has worked for the company. It should then use the Timeoff object to calculate and display the employee's maximum number of sick leave and vacation days. Employees earn 12 hours of vacation leave and 8 hours of sick leave per month.

NOTE: This assignment assumes you have already completed Programming Challenges 4 and 5. Write a program that uses an instance of the Timeoff class you designed in Programming Challenge 5. The program should ask the user to enter the number of months an employee has worked for the company. It should then use the Timeoff object to calculate and display the employee’s maximum number of sick leave and vacation days. Employees earn 12 hours of vacation leave and 8 hours of sick leave per month.

Read More