Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

the GUI shape needs to be like this Using GUI, write a java program that shall solve the following problem: A Small supermarket employs workers

image text in transcribed
image text in transcribed
the GUI shape needs to be like this
Using GUI, write a java program that shall solve the following problem: A Small supermarket employs workers who are paid every end of week. According to the one of the three hourly rates depending on their positions. Position Hours rate (dirham) Admin A1 60 Worker P1 40 Worker P2 30 Each worker might work any number of hours per week; any hour over 40 are paid at one and halfrate. In addition workers in position A1 and P1 can choose to participate in the following insurance options: Option Explanation Weekly Cost to Employee (dirham) 11 Medical Insurance 80 12 Dental Insurance 50 13 Disability Insurance 30 Also, the worker Admin in position A1 can choose to participate in the retirement plan at 3.0% of their gross pay. The following table summarize who is authorized to participate in insurance and retirement plans Position I1 12 13 Retirement (3%) Admin A1 Y Y Y Worker P1 Y Y N Worker P2 N N N Y > Y N N Write an interactive Java payroll application that calculates the net pay for a worker. The program prompts the user for: skill level and hours worked as well as appropriate insurance and retirement options for the worker's position The application displays: 1) hours worked, 2) hourly rate. 3) regular pay for 40 hours, 4) overtime pay, 5) total pay, 6) total deductions, 7) the net pay (total pay - total deductions). - Employee Payroll Employee Name test Hours 41 Employee Name test Hours Skill level Admin Skill level Admin Medical Insu Dental Insu Disability Insu Rate/H 60.0 2490.0 Retirement Salary before deductions Medical Insu Dental Insu Disability Insu Y Retirement Total deductions 0.0 Net Pay Calculate Clear All Using GUI, write a java program that shall solve the following problem: A Small supermarket employs workers who are paid every end of week. According to the one of the three hourly rates depending on their positions. Position Hours rate (dirham) Admin A1 60 Worker P1 40 Worker P2 30 Each worker might work any number of hours per week; any hour over 40 are paid at one and halfrate. In addition workers in position A1 and P1 can choose to participate in the following insurance options: Option Explanation Weekly Cost to Employee (dirham) 11 Medical Insurance 80 12 Dental Insurance 50 13 Disability Insurance 30 Also, the worker Admin in position A1 can choose to participate in the retirement plan at 3.0% of their gross pay. The following table summarize who is authorized to participate in insurance and retirement plans Position I1 12 13 Retirement (3%) Admin A1 Y Y Y Worker P1 Y Y N Worker P2 N N N Y > Y N N Write an interactive Java payroll application that calculates the net pay for a worker. The program prompts the user for: skill level and hours worked as well as appropriate insurance and retirement options for the worker's position The application displays: 1) hours worked, 2) hourly rate. 3) regular pay for 40 hours, 4) overtime pay, 5) total pay, 6) total deductions, 7) the net pay (total pay - total deductions). - Employee Payroll Employee Name test Hours 41 Employee Name test Hours Skill level Admin Skill level Admin Medical Insu Dental Insu Disability Insu Rate/H 60.0 2490.0 Retirement Salary before deductions Medical Insu Dental Insu Disability Insu Y Retirement Total deductions 0.0 Net Pay Calculate Clear All

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

Database Driven Web Sites

Authors: Joline Morrison, Mike Morrison

2nd Edition

? 061906448X, 978-0619064488

More Books

Students also viewed these Databases questions

Question

How do Dimensional Database Models differ from Relational Models?

Answered: 1 week ago

Question

What type of processing do Relational Databases support?

Answered: 1 week ago

Question

Describe several aggregation operators.

Answered: 1 week ago