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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started