Question: Heading 1 Heading 2 1- Rewrite the following code using while loop instead of for loop and find out the output. int counter 10;
Heading 1 Heading 2 1- Rewrite the following code using while loop instead of for loop and find out the output. int counter 10; for (; counter
Step by Step Solution
3.34 Rating (151 Votes )
There are 3 Steps involved in it
1 Using a while loop instead of a for loop cpp int counter 10 while counter 50 counter 5 cout cou... View full answer
Get step-by-step solutions from verified subject matter experts
