Vidyalelo
Ruby Programming · Q49

Control Structures in Ruby

Programming · Ruby Programming · question 49

Q49

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

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