Find out the output of the given program. Let a=5 Let b=2 if a>b then print "a is greater" end if
PleaseHelp guys please
Answers
Answered by
0
Answer:
OUTPUT :-
A is greater.
PROGRAM :-
a = 5
b = 2
if a> b :
print ("A is greater")
#here we know that 5 is greater than 2. hence it will give you a Boolean output -- whether the condition is true or false. here the condition is true. hence it prints as A is greater.
Similar questions