Differentiate between a "For Next loop and a "Do While loop" with examples
Answers
Answered by
2
Answer:
Both do while and for loop does the same thing except for the one difference. The do while loops runs atleast once in any condition(even if the loops control condition is false) but the for loop runs only when the condition is true, as soon as the condition became false, the control goes out of the for loop.
hope this helps you.... please mark me as brainlist... and follow me
Similar questions