the for loop execute a block of code repeatedly till the condition true or false
Answers
Answered by
3
Answer:
If the condition is true the code within the block is executed again. This repeats until the condition becomes false. Because do while loops check the condition after the block is executed, the control structure is often also known as a post-test loop. ... If it is true, the code executes the body of the loop again
Answered by
1
while loop is executed once before the condition is checked. Its syntax is: do { // body of loop; } while (condition); ... If the condition evaluates to true , the body of the loop inside the do statement is executed again.
Similar questions
Business Studies,
2 months ago
Science,
2 months ago
Math,
5 months ago
Computer Science,
5 months ago
English,
11 months ago
Biology,
11 months ago
English,
11 months ago