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
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
Hindi,
4 months ago
Business Studies,
4 months ago
Geography,
4 months ago
Social Sciences,
8 months ago
India Languages,
1 year ago
India Languages,
1 year ago