Vidyalelo
Ruby Programming · Q42

Control Structures in Ruby

Programming · Ruby Programming · question 42

Q42

What is the output of the given code? if 79>78 puts "True".upcase if 9>8 puts "True".reverse if 7==7 puts "equal".downcase end end end

A.
True
B.
True eurt
C.
TRUE
eurT
equal
Answer
D.
equal

Answer: Option C

Solution

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