Gross and Net Pay C program. Need asap

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:

Gross Pay ($) Withholding (%)

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 dependents

The 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 Pay

Output should look like this:

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

I have code that should be modified to do calculations

Habilidades: Programação C

Veja mais: what is net programming, union first, union c programming, net for employee, federal times, employee need, c programming union, c++ programming per hour rate, c programming input output, what is a pay rate, need tax, i need an employee asap, income tax code, state tax, net program security, program income tax, need employee, program social security number, rate social worker, 400 per hour, net employee, net percentage, insurance program, net program insurance, asap regular

Acerca do Empregador:
( 22 comentários ) Sunnyvale, United States

ID do Projeto: #5105021

Concedido a:


Hello. I would be able to complete it in few hours. What may I say more? ............................

$15 USD em 1 dia
(281 Comentários)

6 freelancers estão ofertando em média $17 para esse trabalho


hi i can help you with this. i can start now. .

$13 USD in 0 dias
(6 Comentários)

i will do it right now , its matter of few minutes . plzreply if u are there . thanx .........................

$15 USD in 0 dias
(0 Comentários)

Respected Sir, I have already corrected the code. As I am new to freelancer so am having trouble getting review. Any help in this regard will be highly appreciated. Thank You!

$15 USD in 0 dias
(0 Comentários)

By checking my profile you will see that I am main a java programmer. But if you have CS background then you knew that the programming logic is same in any language. So I can solve it easily. Please initiate a chat so Mais

$18 USD in 0 dias
(0 Comentários)

A proposal has not yet been provided

$25 USD in 3 dias
(0 Comentários)