Question: C++ EXERCISE (DATA STRUCTURES). I cannot figure out. Please show clearly all work and all files. There are two pictures of the question and the

C++ EXERCISE (DATA STRUCTURES). I cannot figure out. Please show clearly all work and all files. There are two pictures of the question and the output. ThanksC++ EXERCISE (DATA STRUCTURES). I cannot figure out. Please show clearly all

oQuit Enter your choice Enter an item: 1.1 E Enquese D-Doqueue 3Show queue showMonu function called in maind intQueue Queue 2.) Create a new C++ project and name it: // continue enqueuing acreem clearing with each steration : int : int Create these three files in the project: o Queue.h Holds the class specification and o main.cpp -front Enter your choice e Queue is full [SIZE] : double the class function definitions.-items L ?? Enqueue +Queue O D Dequeue s - show queue-? showMonuOtunction called in maria +-Queue () +isEmpty: bool +enqueue (double item) 3) In the Queue.h file, write a specification for a Quouei8Ful1 () : bool OQuit class, based on this UML diagram. ? Enter your choice: d 4.) Include the full in 5.) In main.cpp file, declare a Queue object. /1screen clear - function detintions in the Queue.h file. :make Empty u s void void // continue dequeuing screen clearing with cach iteration +dequeue (double kitem): void +showQueue ): void Enter your choice: d Queue is empty Name it: queue (size 5) The function is not part of the Queue class. Add and remove items from the queue to demonstrate enqueue & dequeue functions. 6.) Include a showMenu) function in main to display a menu of choices. (see output above) E- Engueue D Dequeue s Show queue QQuit ? showMenuO function called in main? 7.) The program should demonstrate the class methods, similar to the output. Enter your choice: a Enter your choice: s 1.1 2.23.3 4.45.5NULL Enter enough values to make the queue full, and in turn, remove all items to demonstrate an empty queue. 8.) Display all queue items. E Enqueue showMenuO function called in main() D Dequeue s Show queue Q Quit Enter your choice: d Queue is empty. Press any key to continue/

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!