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.
Solved By Verified
Study Co-Pilot All Study Co-Pilots are evaluated by Gotit Pro as an expert in their subject area.
Instant
Download
Student review: (2 ratings) 2 out of 2 people found this solution helpful.