Question: C++ A software company sells a package that retails for $99. Quantity discounts are given according to the following table. Quantity Discount 10-19 20% 20-49

C++ A software company sells a package that retails for $99. Quantity discounts are given according to the following table.

Quantity Discount

10-19 20% 20-49 30% 50-99 40% 100 or more 50%

Write a program that asks for the number of units sold and computes the total cost of the purchases. Input validation: Make sure the number of units is greater than 0 The output should be appropriately formatted; in particular, dollar amounts should show two digits after the decimal. Show the regular price, the discount, and the discounted price for the transaction in a table.

Please write a c++ program in the simplest manner possible. This is my first programming class. Help is highly appreciated

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!