Question: The Jumpin Jive coffee shop charges $2.00 for a cup of coffee, and offers the add-ins shown in Table 6-2. Product Price ($) Whipped cream
The Jumpin’ Jive coffee shop charges $2.00 for a cup of coffee, and offers the add-ins shown in Table 6-2.
Product | Price ($) |
Whipped cream | 0.89 |
Cinnamon | 0.25 |
Chocolate sauce | 0.59 |
Amaretto | 1.50 |
Irish whiskey | 1.75 |
Table 6-2 Add-in list for Jumpin’ Jive coffee shop
Design the logic for an application that allows a user to enter ordered add-ins continuously until a sentinel value is entered. After each item, display its price or the message Sorry, we do not carry that as output. After all items have been entered, display the total price for the order.
Step by Step Solution
3.63 Rating (182 Votes )
There are 3 Steps involved in it
Flowchart Pseudocode start Declarations string itemOrdered num x num found 0 num total 2 num SIZE 5 ... View full answer
Get step-by-step solutions from verified subject matter experts
