Question: need code not explanation The B language program Create a machine named as Drive_through which have Three Food items, amount (number present) and respective price
need code not explanation

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
Get step-by-step solutions from verified subject matter experts
