Computers and Technology, 22.06.2019 23:00, wiintrr30
Write a program that can be used to calculate the federal tax. the tax is calculated as follows: for single people, the standard exemption is $4,000; for married people, the standard exemption is $7,000. a person can also put up to 6% of his or her gross income in a pension plan. the tax rates are as follows: if the taxable income is: ? ? between $0 and $15,000, the tax rate is 15%. ? ? between $15,001 and $40,000, the tax is $2,250 plus 25% of the taxable income over $15,000. ? ? over $40,000, the tax is $8,460 plus 35% of the taxable income over $40,000.