Question: Computer science help! A software company sells their software packages for $99.00 each. They would like you to write a program that will calculate and

Computer science help!

A software company sells their software packages for $99.00 each. They would like you to write a program that will calculate and display an invoice for their customers. Quantity discounts are given according to the following table:

Quantity Discount 1 - 9 No discount 10 19 20% 20 49 30% 50 - 99 40% 100 or more 50%

Write a C++ program that asks for the customers name and the number of software packages sold and computes the total cost of the purchase. Sales tax is 6.5%. Display an invoice for the customer detailing the customers name, the number of software packages purchased, the discount percentage received, the cost of the software packages, the discounted amount received, the total sales, the sales tax, and the total cost of the purchase. (Use appropriate formatting and named/symbolic constants.)

Sample Input/Output:

Please enter the Customers Name: Smith CPA Services

Please enter the total number of software package(s) purchased: ? 34

INVOICE for Smith CPA Services

Quantity: 34 Discount: 30.00 %

Software Cost (34 packages at $99.00 each)...$ 3366.00

Discount.....$ 1009.80

------------

Total Sales.$ 2356.20

Sales Tax.. $ 153.15

------------

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!