c++ tax code program to write up..HELPPP!!! Please help!

closed account (18CDjE8b)
So I am a beginner to c++ well I suppose this is obvious. I just need help with a code for this project that involves me writing a program that asks the user for their annual gross salary. Then computes the amount of income tax to be collected using the tax code of 1913. The original tax code was very simple, tax was calculated as follows:

1 percent on the first $50,000
2 percent on the amount over $50,000 up to $75,000
3 percent on the amount over $75,000 up to $100,000
4 percent on the amount over $100,000 up to $250,000
5 percent on the amount over $250,000 up to $500,000
6 percent on the amount over $500,000

But this tax code did not consider single nor married nor were there any deduction.

Please give me some guidance / help!

It would be very much appreciated! :)
How would you do this on paper? Work that out first.
closed account (18CDjE8b)
You mean on paper as an IPO Chart
I mean if you have to do it by hand you'll be forced to actually think about what you're doing, and you'll work out how to program it. This is what programming is. All that junk with syntax and headers is just the notation used. Programming is thinking about problems in such a way that the solution lends itself to a programmatic solution.

closed account (18CDjE8b)
Your help is appreciated. Thanks
Topic archived. No new replies allowed.