Question: In java pls Program 2. Write a program that reads the following information and prints a payroll state Employee's name (e.g., Smith) Number of hours

In java pls
Program 2. Write a program that reads the following information and prints a payroll state Employee's name (e.g., Smith) Number of hours worked in a week (e.g., 10) Hourly pay rate (e.g., 9.75) Federal tax withholding rate (eg, 20%) State tax withholding rate (eg, 996) A sample run is shown below Enter employee's name: Smith Enter number of hours worked in a week: 10 Enter hourly pay rate: 9.75 r Enter federal tax withholding rate: 0.20 Enter state tax withholding rate:0.09 Employee Name: Smith Hours Worked: 10.0 Pay Rate: $9.75 Gross Pay: $97.5 Deductions: Federal withholding (20.0%): $10.5 State Withholding (9.0%): $8.77 Total Deduction: $28.27 Net Pay: 569.22
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
