ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 103 Weeks Ago, 3 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 29 Apr 2017 My Price 9.00

Beverage Menu

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.

  • Coke - $1.50
  • Pepsi - $1.00
  • Mt. Dew - $.75
  • Dr. Pepper - $1.25

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

Answers

(11)
Status NEW Posted 29 Apr 2017 07:04 AM My Price 9.00

-----------

Not Rated(0)