Science, asked by rasmiprabha2222, 3 months ago

show the difference between while and do_while with an example.​

Answers

Answered by XxAarzooxX
1

Explanation:

These statements are commonly called loops. Here, the main difference between a while loop and do while loop is that while loop check condition before iteration of the loop. On the other hand, the do-while loop verifies the condition after the execution of the statements inside the loop.

Similar questions