Answered step by step
Verified Expert Solution
Question
1 Approved Answer
USE JAVA PROGRAMING WITH PRINT TO DO THIS PROBLEM, (Financial appllication:payroll) Write a program that reads the folloing information and prints a payroll statment: information
USE JAVA PROGRAMING WITH PRINT TO DO THIS PROBLEM, (Financial appllication:payroll) Write a program that reads the folloing information and prints a payroll statment: information and prints a payroll statment: 1Employee's name (eng., Smith)
2 Number of hours worked in a week (e.g., 10) 3 Hourly pay rate (e.g., 9.75) 4 Frderal tax Witholding rate (e.g., 20%) 5 State tax withholding rate (e.g., 9%)
Enter input data for the program (Sample data provide smith 10 9.75 0.20 0.09 Show the Sample Output Using the Preceeding Inp Execution Result: JDK8>java Exercise04_23 Enter employee's name: smith Enter number of hours worked in a week: 10.0 Enter hourly pay rate: 9.75 Enter federal tax withholding rate: 0.2 Enter state tax withholding rate: 0.09 Employee Name: smith Hours Worked: 10.00 Pay Rate: $9.75 Gross Pay: $97.50 Deductions: Federal Withholding (20.00%): $19.50 State Withholding (9.0%): $8.78 Total Deduction: $28.28 Net Pay: $69.23 JDK8>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