+ 9
Why we use "Until" when "While" can do same ?
The question says all.
2 Answers
+ 7
While will run the loop when the condition is true and breaks as soon as it becomes false.
Until will run the loop when the condition is false and breaks as soon as it becomes true
+ 1
no both are different. just opposite