Computer Science, asked by abhivanibansal, 4 months ago

the for loop execute a block of code repeatedly till the condition true or false​

Answers

Answered by rakeshkushwaha379057
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 Anonymous
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