[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

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

[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

Post 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.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply