Vidyalelo
Ruby Programming · all questions

Operators in Ruby
practice.

Practice every MCQ with options. Use Show answers when you want the correct option and solution.

61

Questions

4/4

Page

Pick an option on a question to see the right answer and solution.

What is the output of the given code?
counter = 2
while counter < 68
  puts counter
  counter**=2
  end

Select an option to see the answer and solution.