Computer Science, asked by gagandeepsingh37, 1 month ago

Write the difference between WHILE...END WHILE and FOR....NEXT loop​

Answers

Answered by SherafMasud25
0

answer:

The 'for' loop used only when we already knew the number of iterations. 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. If the condition is not put up in 'while'

loop, it provides compilation error.

hope it helps you

Answered by saibhowmick
0

Answer:

please mark me as brainliest

Explanation:

The 'for' loop used only when we already knew the number of iterations. 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. If the condition is not put up in 'while' loop, it provides compilation error.

Similar questions