Untitled

Anonymous
plain_text
02/26/2024 8:42 AM
440 B
9
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