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, 23.06.2019 15:00
Based on the current economic situation do you expect the employment demand for graduating engineers to increase or decrease? explain the basis for your answer. with a significant economic recovery, what do you think will happen to future enrollments in graduating engineering programs?
Answers: 1
question
Computers and Technology, 24.06.2019 03:30
Other - a written response, no less than arial 12-point font, to the following: of the following, which would you consider is most important to customer service goals? choose one and explain why. (1) accuracy (2) punctuality and attendance (3) courtesy (4) productivity (5) organization
Answers: 1
question
Computers and Technology, 25.06.2019 09:30
When recovering from a skid, make sure to as necessary to guide your vehicle toward the center of your lane. a. threshold steer b. counter steer c. oversteer d. understeer
Answers: 1
question
Computers and Technology, 25.06.2019 10:30
Why does the hp computer not have bluetooth?
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
English, 22.01.2022 23:00
question
Computers and Technology, 22.01.2022 23:00
question
Mathematics, 22.01.2022 23:00
question
Mathematics, 22.01.2022 23:00
question
Social Studies, 22.01.2022 23:10
question
History, 22.01.2022 23:10
Questions on the website: 13722361