Answered You can hire a professional tutor to get the answer.

QUESTION

Currently working on trying to get my C++ program working and could really use an example to check it against. Here's what I know at the moment:

C++:

Currently working on trying to get my C++ program working and could really use an example to check it against.

Here's what I know at the moment:

  1. I'm working on a program that displays the following Menu to the user. "Hot Beverage Menu" , "A: Coffee $1.20" , "B: Tea $ 0.55", "C: Hot Chocolate $2.25", "D: Cappuccino $3.50", "E: Exit Menu".
  2. I know that I want to prompt the user to make a choice.
  3. I know that I want to determine which beverage the user entered using the switch statement.
  4. I know that if the user has selected a valid beverage, prompt the user for how many cups they would like, print out the number of cups ordered and beverage name, calculate and print out how much the user owes.
  5. I know that my switch statement should print out an error message and the invalid entry if the user does not select a valid beverage.
  6. I know that I have to use a do-while loop that keeps repeating till the user selects E from the Menu.
  7. I plan to check this with an Output Run (Note this is one single run since the program uses a loop) of the following:
  8. 4 Teas, 15 Hot Chocolates, 12 Coffees, 1 Cappuccino, 'F', 'E'.
Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question