Ruby - Loops and Iteration
How can you use the Ruby
loop do method to repeatedly ask a user for input until they type "exit"?loop do method to repeatedly ask a user for input until they type "exit"?loop do method runs code repeatedly until broken.gets.chomp and break if input is "exit".15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions