Computers and Technology

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 & $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,000the user should enter: - marital status- if the martial 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 gross income contributed to a pension fund. the program must consist of at least the following functions: a. function getdata: this function asks the user to enter the relevant datab. function taxamount: this function computes and returns the tax owedto calculate the taxable income, subtract the sum of the standard exemption, the amount contributed to a pension plan, and the person exemption, which is $1,500 per person.

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 14:30, camerondillonn
If the polar bear were taken out of the food chain what would happen to the seal population the seal population would diminish the seal population would grow dramatically the seal population would stay the same the seal population would decrease slightly
Answers: 1
image
Computers and Technology, 23.06.2019 07:00, lin550
Why were most movies from the late 1890s until the early 1930s only filmed in black and white? there were only a few people who could afford the technology to produce color motion pictures back then. audiences did not want color motion pictures until later. the film used to make color motion pictures often overheated, which was a safety hazard, so it was generally not allowed. color films had to be hand-colored, frame by frame.
Answers: 3
image
Computers and Technology, 23.06.2019 16:00, CalCDanG
What is the biggest difference between section breaks and regular page breaks? section breaks are more difficult to add than page breaks. section breaks make it easier for you to view the document as an outline. section breaks allow you to have areas of the document with different formatting. section breaks are smaller than regular page breaks.
Answers: 2
image
Computers and Technology, 23.06.2019 21:20, nicki76
In microsoft word, when you highlight existing text you want to replace, you're in              a.  advanced mode.    b.  automatic mode.    c.  basic mode.    d.  typeover mode
Answers: 1
Do you know the correct answer?
Write a program that can be used to calculate the federal tax. the tax is calculated as follows: fo...

Questions in other subjects:

Konu
Mathematics, 20.02.2021 01:20