Computer Science, asked by rohth1928, 1 year ago

In what sequence the initialization,testing and execution of body is done in a do whiled loop

Answers

Answered by matchlessAkshat
1
If you are taking it for Java language then,
Initialization is done outside the do-while loop and you can see this pic for execution for the same
Attachments:
Answered by Anonymous
0

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