Computers and Technology
Computers and Technology, 09.07.2019 19:20, danny5598

[12] write a c++ console application that calculates the federal tax. the tax is calculate as follows: β€’ for single people, the standard tax exemption is $4,000; β€’ for married people, the standard tax exemption is $7,000. a person can also put up to 6% of their gross income in a pension plan. the tax rates are as follows, by taxable income: a) between $0-15,000 – the tax rate is 15%; b) between $15,001-40,000 – the tax is $2,250 plus 25% of the taxable income over $15,000; c) over $40,000 – the tax is $8,460 plus 35% of the taxable income over $40,000. prompt the usr to enter the following information: β€’ marital status οƒ˜ if the marital status is "married", ask for the number of children under the age of 14 β€’ gross salary (if the marital status is "married" and both spouses have income, enter the combined salary) β€’ percentage of frosse income contributed to a pension fund your program must consist of at least the following functions: a) getdata: this function asks the user to enter the relevant data; b) taxamount: this function computes and returns the tax owed. to calculate the taxable income, subtract the sum of the sandard exemption, the amount contributed to a pension plan, and the personal exemption, which is $1,500 per person. (note: if married couple has two children under the age of 14, then the personal exemption is $1,500*4 = $6,000.)

answer
Answers: 2

Similar questions

Do you know the correct answer?
[12] write a c++ console application that calculates the federal tax. the tax is calculate as follow...

Questions in other subjects:

Konu
Mathematics, 07.02.2022 14:40