Untitled
unknown
plain_text
2 years ago
329 B
6
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