Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A company sells a product for a retail price of $100. It offers quantity discounts based on the table below Quantity Discount 10-19 10% 20-49
A company sells a product for a retail price of $100. It offers quantity discounts based on the table below Quantity Discount 10-19 10% 20-49 20% 50-99 30% 100 or more 40% Write a program that asks user for enter the quantity of product they want to purchase. It should then display the discount amount (if any) and the total purchase amount after the discount. The output should be displayed with 2 decimal points as shown below. See a sample output Enter the quantity of the product you want to purchase: 30 Discount Amount: $ 600.00 Total Purchase Amount: $ 2400.00
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