What is the output of the given code?
if 11>2
puts "Eleven is greater than two"
end
print "You'r right"
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
D. None of the mentioned
Answer: Option C

Join The Discussion