Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

What is the output of the code?
if 11<2
print “Eleven is less than two”
end
print “11 is greater”

What is the output of the code?
if 11<2
print “Eleven is less than two”
end
print “11 is greater”
a) 11 is greater
b) Eleven is less than two
c) Eleven is less than two 11 is greater
d) None of the mentioned

Answer: a
Explanation: The condition given in the if statement is not true hence it comes out of the if block.
Output: 11 is greater

Join The Discussion