For this assignment, Imagine people entering a Queue or a Line and wait for a service, and leaves the Queue or Line after getting the service. Implement in C++ a QueueADT that does the following: 1. gets the input ( person's first name) from the user (from the keyboard) 2. inserts (represents as if the person is entering a queue or to wait in line for a service) the first name into the Queue (your Queue ADT must be able to have a maximum of 20 names) 3. your QueueADT must have the behaviors of inserting, removing, and retrieving & displaying the Queue on the screen after each event (either entry of a name into the queue, OR removing name of the person leaving from the queue.

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter18: Stacks And Queues
Section: Chapter Questions
Problem 16PE: The implementation of a queue in an array, as given in this chapter, uses the variable count to...
icon
Related questions
Question

Separate the codes files PLEASE 

Expert Q&A
Done
PLEASE seperate each source file
QueueADT
QueueADT
For this assignment, Imagine people entering a Queue
or a Line and wait for a service, and leaves the Queue
or Line after getting the service.
Implement in C++ a QueueADT that does the following:
1. gets the input ( person's first name) from the
user (from the keyboard)
2. inserts (represents as if the person is entering a
queue or to wait in line for a service) the first
name into the Queue (your Queue ADT must be
able to have a maximum of 20 names)
3. your QueueADT must have the behaviors of
inserting, removing, and retrieving & displaying
the Queue on the screen after each event
(either entry of a name into the queue, OR
removing name of the person leaving from the
queue.
NOTE:
Your QueueADT must implement ALL the Main
behaviors of a typical Queue Data structure
such as inserting (or enqueueing), removing (or
dequeueing), displaying, etc. and any other
helper
• Implement using the Object-Oriented paradigm
(the way we did an ADT in the class showing
modularity)
• Make sure your application/user/client program
shows an example of the use of each of the
methods in your class, at least once.
• Make sure you con
nent appropriately
• Make sure your program is indented properly
• Use a struct where needed
• NO PLGIARISM in ANY FORM. The instructor
may ask questions and not give any points if you
cannot answer questions on the your program
you submitted.
• Please make sure you submit the three code
files (*.h, *.cpp, and *Main.cpp).
• NO links, NO zipped files, OR other format files
such as pdf, word, etc. (POINTS WILL BE
TAKEN OFF or WILL GET ZERO points)
• Only other format file that is allowed is the
screen shots in (picture format)
Transcribed Image Text:Expert Q&A Done PLEASE seperate each source file QueueADT QueueADT For this assignment, Imagine people entering a Queue or a Line and wait for a service, and leaves the Queue or Line after getting the service. Implement in C++ a QueueADT that does the following: 1. gets the input ( person's first name) from the user (from the keyboard) 2. inserts (represents as if the person is entering a queue or to wait in line for a service) the first name into the Queue (your Queue ADT must be able to have a maximum of 20 names) 3. your QueueADT must have the behaviors of inserting, removing, and retrieving & displaying the Queue on the screen after each event (either entry of a name into the queue, OR removing name of the person leaving from the queue. NOTE: Your QueueADT must implement ALL the Main behaviors of a typical Queue Data structure such as inserting (or enqueueing), removing (or dequeueing), displaying, etc. and any other helper • Implement using the Object-Oriented paradigm (the way we did an ADT in the class showing modularity) • Make sure your application/user/client program shows an example of the use of each of the methods in your class, at least once. • Make sure you con nent appropriately • Make sure your program is indented properly • Use a struct where needed • NO PLGIARISM in ANY FORM. The instructor may ask questions and not give any points if you cannot answer questions on the your program you submitted. • Please make sure you submit the three code files (*.h, *.cpp, and *Main.cpp). • NO links, NO zipped files, OR other format files such as pdf, word, etc. (POINTS WILL BE TAKEN OFF or WILL GET ZERO points) • Only other format file that is allowed is the screen shots in (picture format)
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 5 images

Blurred answer
Knowledge Booster
Linked List Representation
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