difference between do while loop and for loop
Answers
Answered by
0
Answer:
✍✍✍✍
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. ... Conversely, the do while loop is called the exit controlled loop.
Answered by
0
Answer:
Unlike a while loop, a for statement consumes the initialization, condition and increment/decrement in one line thereby providing a shorter, easy to debug structure of looping.
pls mark me as brain list
Similar questions