subject

[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.)

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 06:30
Plz 40 points what are raster vectors? a bitmap image a vector file a type of printing press a small projector
Answers: 1
question
Computers and Technology, 22.06.2019 09:00
Meenu wants to create a high quality drawing in a variety of colours. which device should she use for the same?
Answers: 1
question
Computers and Technology, 24.06.2019 02:10
Consider the usual algorithm to convert an infix expression to a postfix expression. suppose that you have read 10 input characters during a conversion and that the stack now contains these symbols: (5 points) | | | + | | ( | bottom |_*_| now, suppose that you read and process the 11th symbol of the input. draw the stack for the case where the 11th symbol is
Answers: 2
question
Computers and Technology, 24.06.2019 12:50
What percentage of teens plays video games? a.97% b.100% c.74% d.50%
Answers: 1
You know the right answer?
[12] write a c++ console application that calculates the federal tax. the tax is calculate as follow...
Questions
question
Mathematics, 18.02.2021 22:50
question
Chemistry, 18.02.2021 22:50
question
Mathematics, 18.02.2021 22:50
question
Mathematics, 18.02.2021 22:50
Questions on the website: 13722361