Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions