Live quiz

ruby - Part 11

Question 1 of 25 Hints left: 3
Q1

What is the output of the following code snippet? x = 1 loop do puts x x += 1 break if x > 5 end

  • A
  • B
  • C
  • D