Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Must be in Java GUI: Create a Payroll Program that will allow the user to find the weekly pay earned by an employee. An Employees

Must be in Java GUI: Create a Payroll Program that will allow the user to find the weekly pay earned by an employee. An Employees Class is required to hold all input data. Each employee will use the following information.

Input data:

- Employee first and last name

- Employee social security number

- Hourly rate of pay code (1,2,3,4,5)

- Hours worked this pay period

Output:

- All input data

- Tax

- Insurance

- Overtime (if any)

- Total take home pay

Pay rate is from a table or array:

- 1 = $10.00 per hour

- 2 = $12.50 per hour

- 3 = $15.00 per hour

- 4 = $17.50 per hour

- 5 = $20.00 per hour

Overtime is anything over 40 hrs at time and a half

Tax is 10% of total pay

Insurance is 5% of total pay

All boxes will be clearly labeled. Dialog Boxes presented where appropriate.

Buttons or choices will include:

- Calculate

- Remove Employee

- Save/Update ALL input data

- Exit 'System.exit(0);'

Input Validation:

-Use of Try/Catch

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

Practical Azure SQL Database For Modern Developers Building Applications In The Microsoft Cloud

Authors: Davide Mauri, Silvano Coriani, Anna Hoffma, Sanjay Mishra, Jovan Popovic

1st Edition

1484263693, 978-1484263693

More Books

Students also viewed these Databases questions