Question: How many times will the following loops execute. Explain. a. int i = 1; while(i <5){ i = i * 2; }
How many times will the following loops execute. Explain. a. int i = 1; while(i<5){ i = i * 2; }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
