Vidyalelo
Ruby Programming · Q39

Control Structures in Ruby

Programming · Ruby Programming · question 39

Q39

What is the output of the following? if 1<2 print "one is less than two" end

A.
One is less than two
Answer
B.
Syntax error
C.
1<2
D.
None of the mentioned

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board