Question: Using C++ Develop ONE project with the following features: (NOTE: You are expected to submit only ONE program, not a group of programs. Put all
Develop ONE project with the following features: (NOTE: You are expected to submit only ONE program, not a group of programs. Put all these features into one program) Topic: simple loop. Display 1000, 1010, 1020, 1030, 1190, 1200 . Topic: simple loop. Display "Enter the price: 1. Get the input from the user for the price 2. Display "You need to pay $x for tax." The x should be 7% of the price. 3. Display "More items? y" 4. If you user answers'y. go back to 2 and ask the price again. If the user answers 'n'. proceed to 3. Topic: nested loop Display the sum of 1 to 100 (1.e. 1+2+3+4+...+99+100). Do the same for the sum of 101 to 200 201 to 300, 301 to 400. ... 2901 to 3000. One sum on a line. The output will look likes 5050 15050 Topic: function Develop a function taxl). It takes a double parameter income as the input the function returns the tax amount. This is how the tax amount is calculated. If the income is less than 20000, the tax amount iso. If the income is over 20000. the tax amount is 39 of the part of income that is over 20000, For example, if the income is 30000, the taxable income is 130000-20000) = 10000. and the tax amount is 10000 0.03 = 300. Topic: call function In the main function, ask the user to enter the income. Display Your tax is sy. They will have to be obtained by calling the tax) function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
