Vidyalelo
Ruby Programming · Q41

Control Structures in Ruby

Programming · Ruby Programming · question 41

Q41

What is the output of the given code? if 11>2 puts "Eleven is greater than two" end print "You'r right"

A.
Eleven is greater than two
B.
You'r right
C.
Eleven is greater than two
You'r right
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