Question: WRITE A PROGRAM Write a program that will ask the user to choose a meal by first selecting the food then beverage. The program will

 WRITE A PROGRAM Write a program that will ask the user

WRITE A PROGRAM Write a program that will ask the user to choose a meal by first selecting the food then beverage. The program will then display the total amount of the order Implement it first using a switch statement, then using if-else-if Program should accept letters as selections (both small and capital letters). Available food items: a- Burger 10 OR. b- Beef Shawarma... 5 QR. c-Chicken shawarma 7 QR. Choose one of the above: c Now, please choose a drink Available drinks: a- Pepsi... 1 QR. b- Smoothie... 3 QR. c-Water bottle. 2 QR. Choose one of the above: b Your total is: 10 QR

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!