Do while loop can also be called_____? Fill in the Blank
Answers
Answered by
5
Answer:
Do while loop can also called an exit-controlled loop .
Explanation:
Important thing in this loop is this, it check the condition at the end of loop.it means that the loop is executed at least one time even the condition is false. Because in this loop statement block evaluated first and condition evaluate last, as you see in syntax.
Syntax
do
{ // do-while code block
// statement
}
while ( condition )
Answered by
7
Do while loop can also be called exit-controlled loop
Explanation:
- A 'do-while' loop is also named an exit-controlled loop.
- In the 'do-while' loop, the "body of a loop" is executed at least once. After the statements in the body are completed, then it examines the condition.
- If the verified condition is true, then it will again perform the statements in the body of a loop otherwise control is moved out of the loop. As the control goes out of the body loop the statements which are directly after the loop body is performed.
Similar questions
English,
7 months ago
Math,
7 months ago
Math,
1 year ago
Social Sciences,
1 year ago
Math,
1 year ago