Question: Q2: Write a program Lab01_Q2. to prepare a menu for a restaurant customer. The customer will input his/her budget, and the program will compute their

 Q2: Write a program Lab01_Q2. to prepare a menu for a

Q2: Write a program Lab01_Q2. to prepare a menu for a restaurant customer. The customer will input his/her budget, and the program will compute their bill based on the following. The customer must order a main dish (15TL). If they have money remaining, a starter, dessert or both will be added to their menu, depending on the remaining budget. (Starter costs 10TL, Dessert costs 8TL ) The program will display the final bill, as well as their remaining budget

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!