Question: Please do this enhancement. Use three JOptionPane Confirm Dialog Boxes (using the JOptionPane.YES_NO_OPTION) to ask the worker if they want medical insurance, dental insurance, and

 Please do this enhancement. Use three JOptionPane Confirm Dialog Boxes (using

the JOptionPane.YES_NO_OPTION) to ask the worker if they want medical insurance, dental

Please do this enhancement.

Use three JOptionPane Confirm Dialog Boxes (using the JOptionPane.YES_NO_OPTION) to ask the worker if they want medical insurance, dental insurance, and long-term disability insurance, as the worker can enroll in more than one insurance option. Use a do...while() loop to ask the user for their skill level. Keep looping until a valid skill level is provided. Use a JOptionPane to show the workers gross pay.

Barnhill Fastener Company runs a small factory. The company employs workers who are paid one of three hourly rates depending on skill level: Hourly Pay Rate (S) 17.00 20.00 22.00 Skill Level Each factory worker might work any number of hours per week; any hours over 40 are paid at one and one-half times the usual rate. In addition, workers in skill levels 2 and 3 can elect the following insurance options: Option Weekly Cost to Employee ($) Explanation Medical insurance Dental insurance Long-term disability insurance 32.50 20.00 10.00

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!