Answer Posted / Kazim Raza
"The 'until' loop in Ruby is used when you want to continue executing the loop as long as a certain condition is false. The syntax is:
until condition
# code to execute
end
For example:
counter = 0
until counter >= 10
puts counter
counter += 1
end
""
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers