Online Class 27-12-2020
Online Class 27-12-2020
Answer: 1
Computer Science School
CSC 250 - Data Structures
Answer: 10 34 14 5
----------------------------------------------------------------------------
4- Trace the following code, what will be the output? User inputs
the following sequence of numbers: 4 5 67 89 21 3 0 76 15 75
Answer: 4 5 21 3 15
Computer Science School
CSC 250 - Data Structures
------------------------------------------------------------------------------------
6- Draw the flowchart, then write the C++ program that removes
negative numbers from a queue.
------------------------------------------------------------------------------------
7- Write the main function for the program that implements a queue
using stacks.
Best Wishes