Computer Science, asked by tanuja2006rt, 3 months ago

Differentiate between a "For Next loop and a "Do While loop" with examples​

Answers

Answered by shrutikhot
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