Question: Write a java program to calculate a payroll payment check for the following specs: 2. The java program class name: Q3 3. The program should

Write a java program to calculate a payroll payment check for the following specs:

2. The java program class name: Q3 3. The program should allocate constants with final data type for tax rates to include: (1) local rate: 5% (2) state rate: 2.5% (3) federal rate: 10% (4) medical insurance: 2% (5) unemployment insurance: 2.5% (6) social security contribution: 5% 4. The program accepts these data from keyboard: (1) employee first and last name in string format (2) social security number in string type variable format as: xxx-xx-xxxx (3) salary period in string format: Month & Year (i.e February,2017) (3) monthly income in integer 5. Calculate total tax amount, minus from annual income for net salary payment and O/P the calculated results in this format with one console O/P statement:

Monthly Payroll Salary Payment Check ========================================== Employee Name: xxxxxxxx xxxxxxxxx SSN: xxx-xx-xxxx salary period: Month & Year (i.e February,2017) gross payment: xxxxx deductions: (1) local tax: xxx.xx (2) state tax: xxx.xx (3) federal tax: xxx.xx (4) medical insurance: xxx.xx (5) unemployment insurance: xxx.xx (6) social security contribution: xxx.xx Total deduction: xxxx.xx Net payment: xxxx.xx End of Job

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!