Está en la página 1de 1

print("ejemplo 4")

A=float(input("A= "))
B=float(input("B= "))
C=float(input("C= "))
if(A>B and A>C):
print("A es el mayor")
elif(B<A and B>C):
print("B es el mayor")
elif(C>A and C>B):
print("C es el mayor")
elif(A==B and A>C):
print("A y B son mayores")
elif(B==C and B>A):
print("B y C son mayores")
elif(A==C and A>B):
print("A y C son mayores")
else:
print("A, B y C son iguales")
print("FIN")

También podría gustarte