- 1

Class and object question pls help in solving

You are working on a Queue management system and need to create the class to hold the queue data, which are customer IDs (integers). You make a Queue class, which has a size attribute, and an array, to hold the data of the queue. The class has a remove() method to remove the front item of the queue, a print() method to output the queue. You need to create an add() method for the Queue class, that will take an item and add it to the end of the queue. The code needs to be fully working, so that the Queue declaration and manipulation code in main() works.

19th May 2021, 6:31 AM
Aanya Singhania
Aanya Singhania - avatar
2 ответов
0
Your attempt?
19th May 2021, 6:37 AM
Abhishek Tandon
Abhishek Tandon - avatar
0
I have no idea I tried but it was wrong so I deleted it
20th May 2021, 4:49 PM
Aanya Singhania
Aanya Singhania - avatar