Computer Science, asked by pankhuri2003, 8 months ago

differentiate between for loop and while loop​

Answers

Answered by ksidrock
3

Answer:

In while loop if initialization is done during condition checking, then initialization is done each time the loop iterate. In 'for' loop iteration statement is written at top, hence, executes only after all statements in loop are executed. In 'while' loop, the iteration statement can be written anywhere in the loop.

plz mark as brainliest

Similar questions