Write the difference between WHILE...END WHILE and FOR....NEXT loop
Answers
Answered by
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
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
Social Sciences,
27 days ago
Chemistry,
27 days ago
Math,
27 days ago
Math,
1 month ago
Science,
1 month ago
Social Sciences,
8 months ago
Math,
8 months ago
English,
8 months ago