HELP! can't seem to get started, need help on what to do!

Here is a sample of the task given by our teacher:

An employee is paid at a rate of 40.00 per hour for the first 40 hours worked in a week. Any hours over that are paid at the overtime rate of one and one half times that. From the worker's gross pay, 6% is withheld for social security tax, 14% is withheld for federal income tax, and 45.00 per week is withheld for union dues. If the worker has three or more dependents, then an additional 100 is withheld to cover the extra cost of health insurance beyond what the employer pays.

Write a program that will read in the number of hours worked in a week and the number of dependents as input, and will then output the worker's gross pay, each withholding amount, and the net take-home pay for the week.

I suggest that you take a look at other posts in the beginners forum. There're plenty of examples how to write simple formulas.

All you have to do is replace them with your own
Topic archived. No new replies allowed.