The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 3 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
Beverage Menu
A restaurant needs a program to display a beverage menu. You have been hired to design pseudocode and flowchart for an innovative restaurant where customers could select their beverages on their own with an application. The program should ask users their beverage selection. Once the user has entered their choice, the program should ask how many units a customer wants to purchase.  After each selection, you should show the subtotal. Note that customer can order more than one beverage and your menu should have program termination option. Once customers decide to quit, you should show the total order amount. Use the following data to implement this menu.
You should submit both pseudocode and flowchart.
Example output:
The bold parts are what your programs should do. Others are what user entered.
You are welcome, please make a selection:
Enter 1 for Coke
Enter 2 for Pepsi
Enter 3 for Mt. Dew
Enter 4 for Dr. Pepper
Enter 5 to quit.
2 [Enter]
A pepsi is $1.00. How many bottles do you want to purchase?
4 [Enter]
Your subtotal is $4.00
Enter 1 for Coke
Enter 2 for Pepsi
Enter 3 for Mt. Dew
Enter 4 for Dr. Pepper
Enter 5 to quit.
3
Mt. Dew is $0.75. How many bottles do you want to purchase?
2
Your subtotal is $5.50
Enter 1 for Coke
Enter 2 for Pepsi
Enter 3 for Mt. Dew
Enter 4 for Dr. Pepper
Enter 5 to quit.
5 [Enter]
Thank you for the order. Your total is $5.50