Question
in c++ 1) write a program with a loop that lets the user enter a series of integers. the user should enter -99 to signal
in c++ 1) write a program with a loop that lets the user enter a series of integers. the user should enter -99 to signal the end of the series. after all the numbers have been entered, the program should display the largest and smallest number entered.
2) convert the following while loop to a for loop int count=0; while (count <50) { cout <<"the count is"< 3) convert the following for loop to a while loop for(int=50,x>0,,x--) cout < 4) convert the following do while loop to a while loop char sure; do { cout <<"are you sure you want to quit?" ; cin>>sure; } while sure != "y" && sure != "n" ;
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started