What is the output of the given code?
x=7
y=9
if x==y
print "equal"
elsif x>y
print "greater"
else
print "less"
end
x=7
y=9
if x==y
print "equal"
elsif x>y
print "greater"
else
print "less"
endA. equal
B. greater
C. less
D. none of the mentioned
Answer: Option C

Join The Discussion