68.2k views
2 votes
The do/while loop is generally used when the program loop should run at least once before testing for the stopping condition true false

1 Answer

14 votes

Answer:

In the do-while loop, the body of a loop is always executed at least once. After the body is executed, then it checks the condition.

Step-by-step explanation:

If the condition is true, then it will again execute the body of a loop otherwise control is transferred out of the loop.

User Topheman
by
3.3k points