What is an example of when you would use a RepeatUntil LoopS
What is an example of when you would use a Repeat/Until Loop?
Solution
When we dont know how many times a loop should run and we want it to execute atleast One time.
Then we should use Repeat until loop.
Best Example can be : Printing a menu
Other Examples are also given at the bottom
Repeat
Print Menu items
Take Input in n
Until n=0;
Other Example can be:-
Thanks, let me know if there is any concern.
