Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need help I finished my Part 2 and Part 3 of my lab and can't get the results I need for the submission. Can

I need help I finished my Part 2 and Part 3 of my lab and can't get the results I need for the submission. Can you help me fixed this outcome and help me get the outcome I need for the results. Please look over my lab07.cpp, DoublyLinkedQueue.cpp and Employee.cpp
Enqueue positive numbers (enter 0 to stop): 1234567890
0,0,0,0,0,0,0,0,0,
How many numbers to be removed from queue: 5
0,0,0,0,
Enqueue strings (enter exit to stop): aaa bbb ccc ddd eee fff exit
,,,,,
How many strings to be removed from queue: 3
,,,
Enqueue employee's id, name, dept (enter id 0 to stop): 1 bob CSE
Enqueue employee's id, name, dept: 2 mary Math
Enqueue employee's id, name, dept: 3 joe Art
Enqueue employee's id, name, dept: 4 Ellen CSE
Enqueue employee's id, name, dept: 0 no no
0,0,0,0,
How' many' employees' to be removed from queue: 0,0,0,0, The expected result:
Enqueue positive numbers (enter 0 to stop): 1234567890
print queue: 1,2,3,4,5,6,7,8,9,
How many numbers to be removed from queue: 5
print queue: 6,7,8,9,
Enqueue string (enter exit to stop): aaa bbb ccc ddd eee fff exit
print queue: aaa, bbb, ccc, ddd, eee, fff,
How many strings to be removed from queue: 3
print queue: ddd, eee, fff,
Enqueue employee's id, name, dept (enter id 0 to stop): 1 bob CSE
Enqueue employee's id, name, dept: 2 mary Math
Enqueue employee's id, name, dept: 3 joe Art
Enqueue employee's id, name, dept: 4 Ellen CSE
Enqueue employee's id, name, dept: 0 no no
print queue: 1 bob CSE, 2 mary Math, 3 joe Art, 4 Ellen CSE,
How many strings to be removed from queue: 2
print queue: 3 joe Art, 4 Ellen CSE,
image text in transcribed

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

Step: 3

blur-text-image

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

Oracle Databases On The Web Learn To Create Web Pages That Interface With Database Engines

Authors: Robert Papaj, Donald Burleson

11th Edition

1576100995, 978-1576100998

More Books

Students also viewed these Databases questions

Question

Just before a mfigration, you want to make a backup of the current:

Answered: 1 week ago