Q. What is the output of the given code?
counter = 1
until counter > 10
puts counter
counter+=1
end
counter = 1
until counter > 10
puts counter
counter+=1
end
β
Correct Answer: (A)
1 2 3 4 5 6 7 8 9 10