C++ Calculator
So this is the scenerio I need to do. Example: The Federal government has hired you to develop a program to calculate the taxes owed based on an individuals income. The program should allow the user to input the S.I.N number, followed by the gross income for that person. If the individuals gross income is greater than or equal to $50,000 then the tax rate is .47% if the gross income is less than $50,000 then the tax rate is .44%
In 2007 the Federal government concluded that Canadians are using up too much air, for decades Canadians have been breathing air for free. Seeing this as a potential revenue stream, the government has slapped us with yet another tax, “the air surtax”. This tax will be .07% of your total income that was deducted in the calculation above.
Example:
Gross Income 59500.00
Tax Deducted 59500.00 * .47 = 27965.00
Air Surtax 27965.00 * .07 = 1957.55
Total Tax Paid 27965.00 + 1957.55 = 29922.55
Net Income 59500.00 - 29922.55 = 29577.45
Write a structured C++ program that will do the above calculations. You should use at least two functions in your program. The input/output should look like this:
Tax Calculation Program:
Enter S.I.N 458987898
Enter Income 65000
Total Income Tax is 30550 air tax total is 2138.5 Net Income is 32311.5
Enter Another Y/N
If the user hits “Y” the program should loop back and allow for more entries, if the user hits “N” the program should stop.
--------------------------------------------------------------------------------------
Can someone help me with this?
|