Create a class named waitList that can store a name and number of guests. Use constructors to automatically initialize the member variables.

Write a page research paper using APA style outlining the steps involved in recruiting the staff at the new office.
August 7, 2017
Discuss how you have dealt with any difficulties or obstacles including a consideration of whether these could have been avoided and what you might have done differently and why
August 7, 2017
Show all

Create a class named waitList that can store a name and number of guests. Use constructors to automatically initialize the member variables.

  1. Create a class named waitList that can store a name and number of guests.  Use constructors to automatically initialize the member variables.
  1. Add the following operations to your program:
    1. Return the first person in the queue
    2. Return the last person in the queue
    3. Add a person to the queue
    4. Delete a person from the queue

3.    Create a main program to test your class.  Your main program should contain the following options.  Create a menu for your options.

1.    Add a guest (adds the reservation name and number of guests)

2.    Delete a guest (the user must give you the name to delete, the list may be empty or the guest may not be in the list)

3.    Show last guest waiting (return NONE if the queue is empty)

4.    Show first guest waiting (return NONE if the queue is empty)

5.    Exit

Leave a Reply

Your email address will not be published. Required fields are marked *