Create a C program that can do the following. 1. Create a C program for the Restaurant reservation system. The system can do the following task: a. Can register customers for table reservation. b. The system must have a specific number of tables that can accommodate the customers. Note: input must not be less than 10 tables. Minimum # of seats = 1 Each table must differ on the number of seats that can accommodate. Example: Table #1 can only allocate 2 persons. Table #3 can accommodate 5 persons. Specify each table on how many guests it can accommodate. c. The system must be able to reserve the table for a specific customer. The customer must be notified when a table is being reserved or occupied by another user. d. The program must be able to determine and check the number of guests before the customer will be able to reserve a table. The three loops must be present in your code/program: For loop, While loop, Do while loop. Both If-else and switch statements must be present in your code. No using of struct, Functions, Array, and Global Declaration.
Create a C program that can do the following.
1. Create a C program for the Restaurant reservation system. The system can do the following task:
a. Can register customers for table reservation.
b. The system must have a specific number of tables that can accommodate the customers. Note: input must not be less than 10 tables. Minimum # of seats = 1
Each table must differ on the number of seats that can accommodate.
Example: Table #1 can only allocate 2 persons.
Table #3 can accommodate 5 persons.
Specify each table on how many guests it can accommodate.
c. The system must be able to reserve the table for a specific customer. The customer must be notified when a table is being reserved or occupied by another user.
d. The program must be able to determine and check the number of guests before the customer will be able to reserve a table.
The three loops must be present in your code/program: For loop, While loop, Do while loop.
Both If-else and switch statements must be present in your code.
No using of struct, Functions, Array, and Global Declaration.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 2 images