Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

in c++ coding create a class called waiterr as the following with the main function to test and Run the code The Order class contains

  1. in c++ coding

    create a class called waiterr as the following with the main function to test and Run the code

    The Order class contains all the details about the order including

    We aim to create a system for a restaurant. A restaurant has a list of Waiters , Chefs , and Orders. 1- The Waiter class: Every waiter has a Name, ID and a list of Orders (Assigned to him/her by the user of the system), and performs a number of orders

    The Waiter class should have a default constructor and a parameterized constructor. The Waiter has -but not limitedto - the following functions:

- SetName()

  • - SetID()

  • - GetName()

  • - GetID()

  • - AssignOrders()

    This function aims to assign the orders for a given waiter. It is usually called in the main function to assign a set of orders for him/her. DeliveredOrders() This function indicates the delivered orders to the customers. It flags what orders are delivered.

  • - CheckStatus() This function checks the status of the orders inquiring if they have been delivered to the

    customer or not.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Graph Database Modeling With Neo4j

Authors: Ajit Singh

2nd Edition

B0BDWT2XLR, 979-8351798783

More Books

Students also viewed these Databases questions