Examveda

What is the output of the given code?
print "2 is less than 3" unless 2>3

A. 2>3

B. 2 is less than 3

C. Syntax error

D. None of the mentioned

Answer: Option B


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

Join The Discussion

Related Questions on Control Structures in Ruby