Answered step by step
Verified Expert Solution
Question
1 Approved Answer
You are a developer at Mile High Comics - - the mecca of comic book collecting. Chuck has been selling comics for over 5 0
You are a developer at Mile High Comics the mecca of comic book collecting. Chuck has been selling comics for over years. One of Chuck's best strategies is to provide a discount as consumers purchase more comics.You have been asked to develop a small prototype program to determine the discount, the discount amount, and the new total for their online shopping cart application.The following discount strategy is to be used: items: No discount items: discount items: discount or more items: discountShopping Carts over $ will get a discountOnly one discount can be used it should always be the highest discount.Your program should do the following:Prompt for the number of items assume good data.Prompt for the cart total assume good data.Calculate the discount and new total as necessary.Display the appropriate output.
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