Vidyalelo
Ruby Programming · Q50

Control Structures in Ruby

Programming · Ruby Programming · question 50

Q50

What is the output of the code? if 1>2 puts "false" end else puts "True" end

A.
False
B.
True
C.
Syntax error
Answer
D.
None of the mentioned

Answer: Option C

Solution

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