Question: a. Write an application that prompts an employee for an hourly pay rate and hours worked. Compute gross pay (hours times rate), withholding tax,
a. Write an application that prompts an employee for an hourly pay rate and hours worked. Compute gross pay (hours times rate), withholding tax, and net pay (gross pay minus withholding tax). Withholding tax is computed as a percentage of gross pay based on the following: Gross Pay ($) Withholding (%) Up to and including 10 300.00 300.01 and up 12 Save the file as ComputeNet.java. b. Modify the application you created in Exercise 5a using the following withholding percentage ranges: Gross Pay ($) Withholding (%) O to 300.00 10 300.01 to 400.00 12 400.01 to 500.00 15 500.01 and over 20 Save the file as ComputeNet2.java.
Step by Step Solution
There are 3 Steps involved in it
To solve the problem you need to write two Java applications Below are steps and sample ... View full answer
Get step-by-step solutions from verified subject matter experts
