What is the code in a while loop that returns the output of the given code?
Shathana. S.R. Answered question May 27, 2023
							- 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”.
 
Shathana. S.R. Answered question May 27, 2023
				When a condition is not satisfied, a “While” loop is used to repeat a certain piece of code an undetermined number of times.
For instance, if we want to ask a user for a number between 1 and 10, but we don’t know how often they might enter a greater number, we keep asking “while the number is not between 1 and 10.”
Vishalini.R Answered question May 27, 2023
				