Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assignment Four: CS 1201-Spring 2018 Hand in by 03/24/18 Late assignments will not be accepted. Write complet e program for the following problem and compile

image text in transcribed
image text in transcribed
Assignment Four: CS 1201-Spring 2018 Hand in by 03/24/18 Late assignments will not be accepted. Write complet e program for the following problem and compile and run and make sure that the program works correctly Weekly Payroll. Write a Java program create Your program should request the following information to create a weekly payroll using the following Tax Guide employee id number (integer), hourly wage, hours worked per week, number of withholding ptions, marital status (use a code 0 and 1 or m and s) and previous year-to-date earnings Program should then use a loop to process information for each employee until -1 entered for the employee id number. After data has been read, it should cakculate and display the following information: number, current earning, current year to date earnings (after current earnings is taxes, Income tax withheld, and take home check amount. employee id added), FICA The above items should be calculated as follows: Current earnings: hourly wage times hours worked (with time and a half after 40 Year-to-date earnings: Previous year-to-date earnings plus current earnings FICA tax: sum of 6.2% of the current earnings for the week (Social Security benefits Tas) and Federal income tax withheld: Subtract $51.92 from the current earnings for each hours) 1.45% of the current earnings for the week (Medicare tax). withholding exemptions and use this adjusted weekly income and the following tables depending on the marital status. Take home pay: Current earnings - FICA taxes- Federal income tax withheld Table 1: Federal income tax withheld for a single person paid weekly Income Tax Withheld Adjusted Weekly Income $0 to $51 Over $51 to $517 Over $517 to $1,105 Over $1,105 to $2,493 Over $2,493 to $5,385 Over $5,385 $0 15% of the amount over $51 69.90 + 28% of excess over $517 $234.54 +31% of excess over $1,105 $664.82 + 36% of excess over $2.493 $1.70594 + 39.6% of ecess over $5385 Assignment Four: CS 1201-Spring 2018 Hand in by 03/24/18 Late assignments will not be accepted. Write complet e program for the following problem and compile and run and make sure that the program works correctly Weekly Payroll. Write a Java program create Your program should request the following information to create a weekly payroll using the following Tax Guide employee id number (integer), hourly wage, hours worked per week, number of withholding ptions, marital status (use a code 0 and 1 or m and s) and previous year-to-date earnings Program should then use a loop to process information for each employee until -1 entered for the employee id number. After data has been read, it should cakculate and display the following information: number, current earning, current year to date earnings (after current earnings is taxes, Income tax withheld, and take home check amount. employee id added), FICA The above items should be calculated as follows: Current earnings: hourly wage times hours worked (with time and a half after 40 Year-to-date earnings: Previous year-to-date earnings plus current earnings FICA tax: sum of 6.2% of the current earnings for the week (Social Security benefits Tas) and Federal income tax withheld: Subtract $51.92 from the current earnings for each hours) 1.45% of the current earnings for the week (Medicare tax). withholding exemptions and use this adjusted weekly income and the following tables depending on the marital status. Take home pay: Current earnings - FICA taxes- Federal income tax withheld Table 1: Federal income tax withheld for a single person paid weekly Income Tax Withheld Adjusted Weekly Income $0 to $51 Over $51 to $517 Over $517 to $1,105 Over $1,105 to $2,493 Over $2,493 to $5,385 Over $5,385 $0 15% of the amount over $51 69.90 + 28% of excess over $517 $234.54 +31% of excess over $1,105 $664.82 + 36% of excess over $2.493 $1.70594 + 39.6% of ecess over $5385

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

Question

List the five major symptoms of schizophrenia spectrum disorders.

Answered: 1 week ago

Question

mple 10. Determine d dx S 0 t dt.

Answered: 1 week ago