Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

AutoCAD Database Connectivity

Authors: Scott McFarlane

1st Edition

0766816400, 978-0766816404

More Books

Students also viewed these Databases questions

Question

Which use of marketing research is considered basic research?

Answered: 1 week ago

Question

1. Who will you assemble on the team?

Answered: 1 week ago