Science, asked by tanmay24122008, 6 months ago

Find out the output of the given program.

Let a=5
Let b=7
if a>b then
print "a is greater"
else
print "b is greater
end if

Answers

Answered by vinaysharma58
1

'if' and 'else' are used for making decisions. For example, you can think of - if your marks is more than 35% then you pass, else fail. If today is your birthday then it's a special day, else normal day.

One more example you can think of is that if you are making any website and want to allow some features to users with an account only, then you can think of - if a user has account, then this else not.

PLZ MARK ME AS BRAINLIEST!!!!!!!!!

Similar questions