Question
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started