Question: Design program logic using a flowchart lfor the Jumpin' Jive Coffee Shop. The Jumpin Jive coffee shop charges $ 2 for a cup of coffee
Design program logic using a flowchart lfor the Jumpin' Jive Coffee Shop. The Jumpin Jive coffee shop charges $ for a cup of coffee and offers the addins using parallel arrays. Design the logic for an application that allows a user to enter ordered addins continually 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.
It is recommended that two arrays be established, one for the addins and another for the corresponding prices. The addins to be included are as follows:
Products and Prices
Products Price
Whipped cream
Cinnamon
Chocolate sauce
Amaretto
Irish whiskey
Make sure you test your program to make sure the cost of the purchased coffee is correct, included the customer asking for something that is not offered. Show proof of your testing scenarios.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
