Question
What is the output of the code? if 1>2 puts "false" end else puts "True" end
Answer: Option C
Was this answer helpful ?
No two end statements required after if and else just one end statement is sufficient.
Was this answer helpful ?
Submit Solution