Question
A . Write an application that calculates a companys workers based on their skill level and the number of hours they work. Have the user
A. Write an application that calculates a companys workers based on their skill level and the number of hours they work. Have the user enter in the skill level and how many hours they have worked. Save the class as Pay.java. Skill Level Hourly Pay Rate ($) 1- 17.00, 2- 20.00 , 3- 22.00 Example output: What is the employee skill level: 2 How many hours did the employee work: 50 The employee made $800.00 plus 10 hours of overtime pay.
B. Change the program above (Pay.java) to calculate overtime pay and to display the results. Overtime pay is calculated by Hourly pay rate times 1.5 times overtime hours worked. Save the revised class as PayOvertime.java.
Example output: What is the employee skill level: 2
How many hours did the employee work: 50
The employee made $800.00 of regular pay plus $300.00 from 10 hours of overtime pay for a total of $1100.00.
Step 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