Question: JAVA PROGRAM 4.23 Financial application: payroll) Write a program that reads the following informa- tion and prints a payroll statement: Employee's name (e.g., Smith) Number

JAVA PROGRAM

JAVA PROGRAM 4.23 Financial application: payroll) Write a program that reads the

4.23 Financial application: payroll) Write a program that reads the following informa- tion and prints a payroll statement: 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, 9%) A sample run is as follows: Enter employee's name: Smith Enter Enter number of hours worked in a week: 10 Enter Enter hourly pay rate: 9.75 Enter Enter federal tax withholding rate: 0.20 Enter Enter state tax withholding rate: 0.09 Enter Employee Name: Smith Hours Worked: 10.0 Pay Rate: $9.75 Gross Pay: $97.5 Deductions: Federal Withholding (20.0%): $19.5 State Withholding (9.0%): $8.77 Total Deduction: $28.27 Net Pay: $69.22

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!