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

Question:
What is the output of the given code?

if 11>2
   puts "Eleven is greater than two"
   end
   print "You'r right"

1. Eleven is greater than two

2. You’r right

3.Eleven is greater than two You’r right

4.None of the mentioned

Posted Date:-2022-02-07 05:58:25


More MCQS Questions and answers

Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!