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...
icon
Related questions
Question
  1. Create a C program for a Coffee shop business. The system can do the following task:
    1. Can register customers  for table reservation.
    2. 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. 

    3. 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.
    4. 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
steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Random Class and its operations
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.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage