What is the output of the given code?
hungry=false
unless hungry
print "Not hungry"
else
print "Hungry"
end
hungry=false
unless hungry
print "Not hungry"
else
print "Hungry"
endA. Not hungry
B. Hungry
C. Syntax error
D. None of the mentioned
Answer: Option A

Join The Discussion