Examveda

What is the output of the code?
 if 11<2
   print "Eleven is less than two"
   end
   print "11 is greater"

A. 11 is greater

B. Eleven is less than two

C. Eleven is less than two 11 is greater

D. None of the mentioned

Answer: Option A


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

Join The Discussion

Related Questions on Control Structures in Ruby