Page 1 of 1

[3:57 PM, 5/9/2022] Daramoni Prashanth: 3. Develop a c++ program using either stack or queue (You have to use one of the

Posted: Sun May 15, 2022 8:21 am
by answerhappygod
[3:57 PM, 5/9/2022] Daramoni Prashanth: 3. Develop a c++ program
using either stack or queue (You have to use one of them to
complete the task for this question. No credit otherwise).
a. Ask the user to enter number.
b. As long as the user enters positive number, keep going back to
step (a) to get
another number. Keep doing until the user enters a 0 or negative
number.
[3:57 PM, 5/9/2022] Daramoni Prashanth: c. Display all the numbers
the user entered that are greater than 100. Numbers
smaller than 100 are ignored. The numbers should be displayed in
the same
order as they were entered by the user.