Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Using C++ image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Hands-On Database

Authors: Steve Conger

2nd Edition

0133024415, 978-0133024418

More Books

Students also viewed these Databases questions

Question

What does Processing of an OLAP Cube accomplish?

Answered: 1 week ago