Question: IN PYTHON 15.3 SS21 Project 3 Manage Restaurant Seating Overview In this project, you will be creating a program to help a popular restaurant manage

IN PYTHON15.3 SS21 Project 3 Manage Restaurant Seating Overview In this project, you
will be creating a program to help a popular restaurant manage their
waiting line for seats. Objectives Think about how to create a more
complicated program by breaking it into manageable pieces. Understand how to use
a menu of possible actions repeatedly with a sentinel loop Understand how
to add and remove elements of a list using Python list methods
Use functions and incremental development to make a complicated program manageable Description
Imagine that we are creating an app for the host/hostess at a
busy restaurant to manage the line of customers waiting to be seated.
As customers arrive, they are asked their party size, and they are

15.3 SS21 Project 3 Manage Restaurant Seating Overview In this project, you will be creating a program to help a popular restaurant manage their waiting line for seats. Objectives Think about how to create a more complicated program by breaking it into manageable pieces. Understand how to use a menu of possible actions repeatedly with a sentinel loop Understand how to add and remove elements of a list using Python list methods Use functions and incremental development to make a complicated program manageable Description Imagine that we are creating an app for the host/hostess at a busy restaurant to manage the line of customers waiting to be seated. As customers arrive, they are asked their party size, and they are added to the end of a waiting queue. Similar to other restaurants there is a VIP program here. If customers show a VIP card when checking in, they are given priority and added to the beginning of the waitlist (behind other VIP customers). When a table of diners is cleared there now are 'n' number of seats available for a party from the waitlist to be seated as long as the group is of size n or smaller. To simplify our programming, we are going to be concerned only with total seat management and not with optimizing table usage. We will assume that the tables and chairs are infinitely configurable, so that empty tables from smaller parties can be pushed together to accommodate larger parties, and small parties will take up only the number of spots for their own party (i.e, you don't need to worry about unused seats at tables or table sizes). When there is space available for the next party, the host/hostess can call out the name of the next party in line. That party will then be seated and they will be removed from the waitlist. The app will also provide for other capabilities such as the ability to display the current queue so that customers can see their current position in the waitlist. The first thing that the program needs to do is ask the user for the capacity of the restaurant. This will be used to determine if someone can be seated. When the restaurant is at full capacity (fewer available seats than customers wanting seats), people can still join the queue, but no one can be seated until a table is cleared

Step by Step Solution

3.45 Rating (152 Votes )

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 Programming Questions!