Create a C program for a Coffee shop business. The system can do the following task: Can register customers for table reservation. 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 guest it can accommodate. 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 users. The program must be able to determine and check the number of guest before the customer will be able to reserved 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 you code. No using of struct, pointers, functions, array, and global declaration
Create a C program for a Coffee shop business. The system can do the following task: Can register customers for table reservation. 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 guest it can accommodate. 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 users. The program must be able to determine and check the number of guest before the customer will be able to reserved 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 you code. No using of struct, pointers, functions, array, and global declaration
C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter5: Control Structures Ii (repetition)
Section: Chapter Questions
Problem 20PE: When you borrow money to buy a house, a car, or for some other purpose, you repay the loan by making...
Related questions
Question
- Create a C
program for a Coffee shop business. The system can do the following task: - Can register customers for table reservation.
- 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 guest it can accommodate. - 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 users.
- The program must be able to determine and check the number of guest before the customer will be able to reserved 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 you code.
No using of struct, pointers, functions, array, and global declaration
*ANSWER ONLY DO NOT INCLUDE EXPLAINATION
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage