Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please make code about this. Python language please RESTAURANT MENU A line of customers is piling up to your restaurant trying to buy from your

Please make code about this. Python language please

image text in transcribed

RESTAURANT MENU A line of customers is piling up to your restaurant trying to buy from your menu. (Menu is based on you, minimum of 3 items). Each customer can order any number of each item Input: Number of customers. For each customer, they need to be able to input the number of each item in the menu they can order and their payment Process: If the payment is below the total amount of their order, ignore that customer's order. The order should be inputted as a string. If the value is not applicable, just ignore that item. Output: Calculate your total sales and the total change. Example: MENU FOR TODAY A - Burger: 30.00 B - Fries: 10.00 C-Drinks: 11.00 Input number of customers: 1 Customer 1 Payment: 1000 Customer 1 Order: A1B3A2A1C5B4D8FJ Total Sales: 245 (Not part of the output: A1 = 1 burger, C5 = 5 drinks, DS & FJ= ignore) Total Change: 755

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

=+j on to staff their operations in the global marketplace.

Answered: 1 week ago