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 given code?
a=10
b=9
if(a>b)
print (“a greater than b”)
else
print “Not greater”
end

What is the output of the given code?
a=10
b=9
if(a>b)
print (“a greater than b”)
else
print “Not greater”
end
a) a greater than b
b) Not greater
c) Syntax error
d) None of the mentioned

Answer: a
Explanation: Assigning the value to the variable and checking the condition.

Join The Discussion