Using a do while Loop
In this exercise, you use what you have learned about do while loops. Study the following code, and then answer Questions 1-4.
1.How many times does this loop execute?
___________________________________________________________________________________
2. What is the output of this program?
___________________________________________________________________________________
3. Is the output different if you change the order of the statements in the body of the loop, so that counter++ comes after the output statement?
___________________________________________________________________________________
4. What is the loop control variable?
___________________________________________________________________________________
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.