Computer Science, asked by sanjay4798, 4 months ago

write the difference of while loop and do while loop​

Answers

Answered by SHIVA72552y
3

While loop is executed only when given condition is true. Whereas, do-while loop is executed for the first time irrespective of the condition. After executing while loop for the first time, the condition is checked.

I hope it will help you. thanks ☺️✌️

Similar questions