Untitled

 avatar
unknown
plain_text
a year ago
329 B
4
Indexable
#Q3.
a = float(input("Enter the first number (a): "))
b = float(input("Enter the second number (b): "))
c = float(input("Enter the third number (c): "))

highest_value = max(a, b, c)

if highest_value == a:
    print("a is Greater")
elif highest_value == b:
    print("b is Greater")
else:
    print("c is Greater")
Editor is loading...
Leave a Comment