Computer Science, asked by manojyatin815, 1 month ago

What is looping and why do we need loops? Differentiate between while and for
loop?​

Answers

Answered by shristi9873
2

Explanation:

The 'while' loop used only when the number of iteration are not exactly known. If the condition is not put up in 'for' loop, then loop iterates infinite times. ... In while loop if initialization is done during condition checking, then initialization is done each time the loop iterate.

Similar questions