Question: modify the program by replacing all switch statment with if statment modify the program by replacing the while loop with the do/while loop modify the

Hinclude1ostream> //Required for cout, c1n using namespace std; int main() (. If Declare and Initialize objects Int high(20), low(1). guess, count (1), ce111ng: bool done (false): char answer: const char YES ('Y'), NO('N') : /1 Print 8 reeting to user ceiling =(ceil(log(( double )high))+1): cout = low) ( 8uess =(high+10h)/2: cout " Are you thinking of " ceiling) cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
