Computer Science, asked by 5462pikachu, 7 months ago

write a looping statement that allows loop body execution 55 times

Answers

Answered by Anonymous
3

</p><p>\huge{\underline{\mathtt{\red {A}\pink{N}\green{S}\blue{W}\purple{E}\orange{R}}}}</p><p>

.

The main difference between do while loop and while loop is in do while loop the condition is tested at the end of loop body, i.e do while loop is exit controlled whereas the other two loops are entry controlled loops. Note: In do while loop the loop body will execute at least once irrespective of test condition.

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