English, asked by samir2816, 5 months ago

show the difference between while and do,while with an example​

Answers

Answered by rajendradahate151
5

Explanation:

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

Answered by laiba1233
4

Explanation:

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

\huge{ \pink{ \bold{ \underline{Follow \: me}}}}

Similar questions