Question: c++ Write a program that asks the user for up to 10 integers (it could be fewer); stop prompting when the user enters zero. Then

c++ Write a program that asks the user for up to 10 integers (it could be fewer); stop prompting when the user enters zero. Then list the numbers in reverse order. Use the following example run as a guide:

Enter a number (0 to stop): 11 Enter a number (0 to stop): 33 Enter a number (0 to stop): 55 Enter a number (0 to stop): 77 Enter a number (0 to stop): 99 Enter a number (0 to stop): 0 Your numbers in reverse order are: 99, 77, 55, 33, 11c++ Write a program that asks the user for up to 10 

Write a program that asks the user for up to 10 integers (it could be fewer), stop prompting when the user enters zero. Then list the numbers in reverse rder. Use the following example run as a guide: Enter a number (0 to stop) 11 Enter a number (0 to stop): 33 Enter a number (0 to stop): 55 Enter a number (0 to stop): 77 Enter a number (0 to stop) 99 Enter a number (0 to stop) 0 Your numbers in reverse order are 99, 77, 55 33, 11

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!