Question: The B language program Create a machine named as Drive_through which have Three Food items, amount (number present) and respective price Product Price Amount 1

 The B language program Create a machine named as Drive_through which

The B language program Create a machine named as Drive_through which have Three Food items, amount (number present) and respective price Product Price Amount 1 fries 100 20 pack 2 burgers 250 200 3 drink 50 200 Customer can choose from these three items and we have a variable named as customer wallet which have the customer balance which will be asked from user at start of order and as per order amount of order can take from customer wallet if customer don't have enough balance ask for decrease or cancel of order. On every order the product present in machine decrease by that number. And display message if product number is equal to zero

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!