Wap to accept two integers. Find and print the greatest from them otherwise print equal if both are same.
Answers
Answered by
3
Answer:
a = float(input(" Please Enter the First Value a: "))
b = float(input(" Please Enter the Second Value b: "))
if(a > b):
print("{0} is Greater than {1}".format(a, b))
elif(b > a):
print("{0} is Greater than {1}".format(b, a))
else:
print("Both a and b are Equal")
Explanation:
Similar questions