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
Lets tackle each part of the question step by step 1 C Program to Find Largest and Smallest Numbers ... View full answer
Get step-by-step solutions from verified subject matter experts
