Create a C program for a Coffee shop business. The system can do the following task and the corresponding functions: 1. register customers for table reservation. Name the function: register_user() 2. accommodate the customers. 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 they can accommodate. 3. Specify each table on how many guest it can accommodate. Function name: number_of_tables() 4. reserve the table for a specific customer. The customer must be notified when a table is being reserved or occupied by another users. Function name: reserve_table() 5. must be able to determine and check the number of guest before the customer will be able to reserved a table. Function name: number_guest() 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 you code. No using of struct and Global Declaration
Create a C program for a Coffee shop business. The system can do the following task and the corresponding functions:
1. register customers for table reservation.
Name the function: register_user()
2. accommodate the customers. 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 they can accommodate.
3. Specify each table on how many guest it can accommodate.
Function name: number_of_tables()
4. reserve the table for a specific customer. The customer must be notified when a table is being reserved or occupied by another users.
Function name: reserve_table()
5. must be able to determine and check the number of guest before the customer will be able to reserved a table.
Function name: number_guest()
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 you code. No using of struct and Global Declaration
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 3 images