Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Java Programming Based on your problem-solving expertise, you have been hired by ACME systems in their IT department. One of your first tasks is to
Java Programming
Based on your problem-solving expertise, you have been hired by ACME systems in their IT department. One of your first tasks is to help the HR department by creating an application that can determine the yearly bonus for a single employee. Not all employees are eligible for a yearly bonus. Only employees that have been with the company longer than 2 years are eligible. In addition, an employee must have been given a rating of "Average", "Above Average", or "Outstanding" by his or her supervisor. Employees receiving a rating of "Below Average" are not eligible for a bonus. The bonus is calculated as $100 per year of service. For example, if an employee is eligible to receive a bonus and they have been with the company 5 years, they would receive $500. Lastly, the bonus is doubled for any employee that has worked for the company for 20 or more years. Your goal is to create an application to allow an HR representative to input employee data for a single employee. The application will enable the HR representative to input an employee's name, years of service, and rating. While gathering this information, if the user enters at least one invalid value, the program must display one error message telling the user they made a mistake and that they should re- run the program to try again. The program must then end at this point. However, if all valid values are entered, the application must print well-formatted report stating whether or not the employee is eligible for a bonus. For employees eligible for a bonus, the application must also print the amount of the bonus to be awarded to the employeeStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started