Write a c++ program that will calculate the income taxes owed based on the following table....
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Write a c++ program that will calculate the income taxes owed based on the following table. Income Range $0-$2,000 $2,001-$20,000 $20,001 - $40,000 $40,001-$80,000 $80,001-$120,000 $120,001+ Income Tax Amount Nothing 4% * Each dollar earned over $2,000 $720+8%* Each dollar earned over $20,000 $2,320 +16 %* Each dollar earned over $20,000 $8,720 +24%* Each dollar earned over $20,000 $18,320 + 32%* Each dollar earned over $20,000 Your program is to prompt the user for their income amount and then read in this value from the input. Next your program should calculate and output the amount of income tax. Be sure to output your information is some readable style. Write a c++ program that will calculate the income taxes owed based on the following table. Income Range $0-$2,000 $2,001-$20,000 $20,001 - $40,000 $40,001-$80,000 $80,001-$120,000 $120,001+ Income Tax Amount Nothing 4% * Each dollar earned over $2,000 $720+8%* Each dollar earned over $20,000 $2,320 +16 %* Each dollar earned over $20,000 $8,720 +24%* Each dollar earned over $20,000 $18,320 + 32%* Each dollar earned over $20,000 Your program is to prompt the user for their income amount and then read in this value from the input. Next your program should calculate and output the amount of income tax. Be sure to output your information is some readable style.
Expert Answer:
Answer rating: 100% (QA)
c include include using namespace std int main double income cout Enter your income cin income Define tax brackets and rates double brackets 20000 200000 400000 800000 1200000 double rates 00 004 008 ... View the full answer
Related Book For
Posted Date:
Students also viewed these programming questions
-
In this question assume that p and q are atomic formulae. (a) Compare and contrast path formulae and state formulae in temporal logic. [4 marks] (b) Describe and contrast the meanings of F(G p) and...
-
A 0.500-kg block, attached to a spring with length 0.60 m and force constant 40.0 N/m, is at rest with the back of the block at point A on a frictionless, horizontal air table (Fig. 7.44). The mass...
-
Name the five antibody classes and describe where each is most likely to be found in the body.
-
Troy Engines, Ltd., manufactures a variety of engines for use in heavy equipment. The company has always produced all of the necessary parts for its engines, including all of the carburetors. An...
-
What are the essential elements of the Product Liability Directive of the European Union?
-
Preston Plastics is about to wrap up its capital budgeting cycle, and department managers across the company have submitted 500 capital project requests for consideration in the next round of...
-
1. Electric potential is given by V=6x-8xy-8y+6yz - 4z Then magnitude of electric force acting on 2C point charge placed on origin will be :- (1) 2N (2) 6N (3) 8N (3) 8N (4) 20 N 2. Figure shows...
-
Determine the value of P0, as a function of H, for these two investment alternatives to be equivalent at an interest rate of i = 15% per year: 1.7H 2Po 05 1015 5 10 10 End of Year Po End of Year
-
Suppose the S&P 500 index is 1100 and that it is possible to lend at 4 % and borrow at 7 %. The index pays continuously compounded dividend yield of 2%. a) Suppose you observe a 6-month price of...
-
Which of these is/are not the type/s of team/s? Management teams Task force Committees All of the above
-
If the company transitions to remote work, do you believe the changes Reynolds outlines above will be effective? Why or why not?
-
Mr. Anderson is the CEO of a consultancy firm in Aguascalientes, Mexico. The annual turnover of the company for the last year was 1.32 crore. Anderson is dedicated and finds ideas to get more...
-
Suppose a portfolio manager purchases \(\$ 1\) million of par value of a Treasury inflation protection security. The real rate (determined at the auction) is \(3.2 \%\). a. Assume that at the end of...
-
Which of these is the correct order for the processes of teamwork? Transition process, interpersonal process, action process Transition process, action process, interpersonal process Interpersonal...
-
How do you see the world 50 years from now in economics?
-
The company manufactures three products: wooden chairs, tables and dressers. AFC started off as a 'Mom & Pop' shop but has grown rapidly. AFC uses one assembly line to build all three products,...
-
Derive the roots (8.72) of the odd-function secular equation in the Section 8.5 example.
-
Repeat Prob. 15.7 for the gauche and the anti conformers of butane (see Fig. 15.13). Be sure and give the CCCC dihedral angle for each. Comment on the dipole moment values. In Figure 15.13 In Problem...
-
Use parity to find which of the following integrals must be zero: (a) (b) (c) The functions in these integrals are hydrogenlike wave functions. (2s 12p)
-
Research Problem Access the FASB website: https://fasb.org. Locate information about updates to accounting standards in the most recent year listed. Choose one of the updates and write a short essay...
-
What reports are required to be filed regularly with the SEC?
-
Each chapter in the textbook contains a continuation of this problem. The objective is to learn how to do a comprehensive financial statement analysis in steps as you learn the content of each...
Study smarter with the SolutionInn App