Help with Federal taxes Excercise

This is a discussion on Help with Federal taxes Excercise within the C++ Programming forums, part of the General Programming Boards category; My assignment is to write a program that can calculate federal taxes. Single people exemption is 4000 and married is ...

Help with Federal taxes Excercise

My assignment is to write a program that can calculate federal taxes. Single people exemption is 4000 and married is 7000. Can also add 6% of income to pension plan. Tax rates are: Between 0 - 15000 rate is 15%, Between 15001 - 40000 tax is 2250 and rate of 25% over 15000.
Over 40000 tax is 8460 and rate of 35% over 40000.
Prompt user for Marital Status, if married ask for any children under 14, Gross Salary and Percentage of income contributed to pension.

must use function getData and taxAmount. Personal Exemption is Self plus children at 1500 per person.

I am taking this course through the internet which is basically read chapters do the exercises. I read the chapter on Enum and object types but I do not understand at all that well if you can maybe put it in simple terms for me maybe I can get what it is suppose to be