Write a C program to select the type of food from the list, then give the quantity you want to buy from Ibri Restaurant. Then display the total price to be paid after adding 2% tax on the customer bill. The program should run as following: Select the food plate or e for Exit .... m Mandi with Meet (2.800) c Chicken Barbeque (8.700) f Fish and Chips (2.500) e Exit The above menu should be repeated until the user select e to Exit the program. If the user select e then you exit and display "Thank You" You should use loops and ladder if else-if.

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter8: Arrays And Strings
Section: Chapter Questions
Problem 10PE
icon
Related questions
Question
Problem
Write a C program to select the type of food from the list, then give the quantity you
want to buy from Ibri Restaurant. Then display the total price to be paid after adding
2% tax on the customer bill. The program should run as following:
Select the food plate or e for Exit ....
m Mandi with Meet (2.800)
c Chicken Barbeque (8.700)
f Fish and Chips (2.500)
e Exit
The above menu should be repeated until the user select e to Exit the program.
If the user select e then you exit and display "Thank You"
You should use loops and ladder if else-if.
Transcribed Image Text:Problem Write a C program to select the type of food from the list, then give the quantity you want to buy from Ibri Restaurant. Then display the total price to be paid after adding 2% tax on the customer bill. The program should run as following: Select the food plate or e for Exit .... m Mandi with Meet (2.800) c Chicken Barbeque (8.700) f Fish and Chips (2.500) e Exit The above menu should be repeated until the user select e to Exit the program. If the user select e then you exit and display "Thank You" You should use loops and ladder if else-if.
Expert Solution
steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Random Class and its operations
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr