Examveda

What is the output of the given code?
i = 50
while i > 25 do
  print 50/i
  i -= 1
end

A. 50..25

B. 50..1

C. Infinite loop

D. 1111111111111111111111111

Answer: Option D


This Question Belongs to Ruby Programming >> Control Structures In Ruby

Join The Discussion

Related Questions on Control Structures in Ruby