In do - while loop, is the number of iterations known or unknown?
Answers
Answered by
1
▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬
No. of iterations is unknown.
It is known in a For Loop
▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬
Answered by
1
Answer:
A "While" Loop is used to repeat a specific block of code an unknown number of times, until a condition is met. For example, if we want to ask a user for a number between 1 and 10, we don't know how many times the user may enter a larger number, so we keep asking "while the number is not between 1 and 10".
Plz mark as brainliest
Similar questions