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++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter7: Arrays
Section: Chapter Questions
Problem 16PP: (Computation) Among other applications, Pascal’s triangle (see Figure 7.22) provides a means of...
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++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr