Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

7.10 Ch 4 Payroll Calculator(Java) Application Title: Payroll Calculator Purpose: Calculates the payroll for employees of a store Procedures: The user enters an employee's name,

7.10 Ch 4 Payroll Calculator(Java)

Application Title: Payroll Calculator

Purpose: Calculates the payroll for employees of a store

Procedures:

The user enters an employee's name, number of hours worked and pay per hour. If the employee works more than 40 hours per week, the store pays time and half for overtime. The tax rate is the single rate (19%) or the family rate (16%). The application should compute and display the employee name, the gross pay, tax based on the single or family rate and the net pay.

Algorithms, Processing and Conditions:

The user must be able to enter employee's name, hours worked and pay rate.

The user must indicate whether the tax rate is the single rate (19%) or the family rate (16%).

The application must display the employee's name, the gross pay, the tax amount based on the single or family rate and the net pay.

Notes and Restrictions:

The minimum value for hours worked is 5. The maximum for hours worked is 60. If the user enters a values that is not within this range, the user is advised and the application terminates.

The minimum value for the pay rate is $8.00. The maximum value for the pay rate $40.00. If the user enters a values that is not within this range, the user is advised and the application terminates.

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

PostgreSQL Up And Running A Practical Guide To The Advanced Open Source Database

Authors: Regina Obe, Leo Hsu

3rd Edition

1491963417, 978-1491963418

More Books

Students also viewed these Databases questions

Question

What are the components of goal-setting theory?

Answered: 1 week ago

Question

3. Define the terms 'production' and 'production management'.

Answered: 1 week ago