subject

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.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:00
You receive an email from an impressive-sounding stranger, professor alexander rothschild renard iii, president of the american institute for scientific political statesmen. he urges you to vote for his presidential candidate choice. this social media red flag is known as
Answers: 1
question
Computers and Technology, 23.06.2019 14:00
Select the correct answer. a company is currently focusing on creating specific management goals for itself. which level of maturity is the company demonstrating under the sse_ccm framework? a. performed informally b. planned and tracked c. quantitatively controlled d. well-defined e. continuously improving
Answers: 2
question
Computers and Technology, 23.06.2019 17:00
The camera still is bad even with the new iphone xr and especially in low light it is even worst because you can see the pixels more if its in low light. if all you apple customers want apple to fix this then lets fill there feedback with complaints about the can apple do to fix this issue?
Answers: 1
question
Computers and Technology, 23.06.2019 22:30
Apart from confidential information, what other information does nda to outline? ndas not only outline confidential information, but they also enable you to outline .
Answers: 1
You know the right answer?
Write a program that can be used to calculate the federal tax. the tax is calculated as follows: fo...
Questions
question
Mathematics, 05.05.2020 03:57
Questions on the website: 13722367