Computer Science, asked by thakur110ritik, 4 months ago

explain while loop with example​

Answers

Answered by Anonymous
12

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".

Answered by Anonymous
5

Answer:

OK hope it helps you thanks

Attachments:
Similar questions