Computer Science, asked by preethi3375, 7 months ago

Wap to accept two integers. Find and print the greatest from them otherwise print equal if both are same.

Answers

Answered by Anonymous
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