Computer Science, asked by aditidubey412, 5 months ago

Give one point of similarity and one point of difference between while() and do-while() loop.​

Answers

Answered by Anonymous
1

Well, below are the differences between while and do while loop, ... Hence while loop executes the code block only if the condition is true. In do while loop, condition is tested at the end of the loop. So Do While executes the statements in the code block at least once even if the condition fails.

Similar questions