(Solution) An employee is paid at a rate of \$16.78 per hour for the first 40 hours worked in a week. Any hours over the regular 40 hours are paid at the... > Snapessays.com

(Solution) An employee is paid at a rate of \$16.78 per hour for the first 40 hours worked in a week. Any hours over the regular 40 hours are paid at the...

An employee is paid at a rate of \$16.78 per hour for the first 40 hours worked in a week. Any hours over the regular 40 hours are paid at the overtime rate of one-and-one-half times that. From the worker's gross pay, here are the following withholdings:Social Security tax (FICA): 6% Federal income tax, use the following percentage ranges: 0 to 300.00 10 300.01 to 400.00 12 400.01 to 500.00 15 500.01 and over 20 State income tax: 5% Union dues: \$10 per week If the worker has three or more dependents, then an additional \$35 is withheld to cover the extra cost of health insurance beyond what the employer pays.Write a program that will ask the user to input the following data:The employee number The number of hours worked in a week The number of dependentsThe program will do the calculations and output the following per week:Employee number Number of dependents Number of hours worked Regular pay rate Gross pay FICA tax withheld Federal Income Tax withheld State Tax withheld Union Dues withheld Net PayThe display should look like the following (make sure to format it correctly):Employee number: 234567890

Number of dependents: 1

Number of hours worked: 10.00

Regular pay rate: \$16.78 \$ 167.80

---------

Gross pay: \$ 167.80

FICA tax withheld: \$ 10.07

Federal Income Tax withheld (10%): \$ 16.78

State Tax withheld: \$ 8.39

Union Dues withheld: \$ 10.00

---------

Net Pay: \$ 122.56

Employee number: 234567890

Number of dependents: 2

Number of hours worked: 20.00

Regular pay rate: \$16.78 \$ 335.60

---------

Gross pay: \$ 335.60

FICA tax withheld: \$ 20.14

Federal Income Tax withheld (12%): \$ 40.27

State Tax withheld: \$ 16.78

Union Dues withheld: \$ 10.00

---------

Net Pay: \$ 248.41

Employee number: 234567890

Number of dependents: 3

Number of hours worked: 25.00

Regular pay rate: \$16.78 \$ 419.50

---------

Gross pay: \$ 419.50

FICA tax withheld: \$ 25.17

Federal Income Tax withheld (15%): \$ 62.92

State Tax withheld: \$ 20.98

Health Insurance Premium withheld: \$ 35.00

Union Dues withheld: \$ 10.00

---------

Net Pay: \$ 265.43

Employee number: 234567890

Number of dependents: 3

Number of hours worked: 50.00

Regular pay rate: \$16.78 \$ 671.20

Overtime hours worked: 10.00

With overtime premium: 1.50 \$ 251.70

---------

Gross pay: \$ 922.90

FICA tax withheld: \$ 55.37

Federal Income Tax withheld (20%): \$ 184.58

State Tax withheld: \$ 46.15

Health Insurance Premium withheld: \$ 35.00

Union Dues withheld: \$ 10.00

---------

Net Pay: \$ 591.80

Include in your program the following comments:Name of program Programmer's name Brief description of the program Comments for all the statements Create an IPO chart. List the input, processing, and output items. Plan the algorithm using pseudocode. Save the program in a filename LastFirst_a6.cpp Compile and run the program. Take a screen shot of the output. Save it in a filename LastFirst_a6.doc (e.g. DoeJoe_a6.doc)

Solution details:
STATUS
QUALITY
Approved

This question was answered on: Sep 21, 2023

Solution~00021147637899.zip (25.37 KB)

This attachment is locked

Our expert Writers have done this assignment before, you can reorder for a fresh, original and plagiarism-free copy and it will be redone much faster (Deadline assured. Flexible pricing. TurnItIn Report provided)

STATUS

QUALITY

Approved

Sep 21, 2023

EXPERT

Tutor