Biggest Integer

mail@pastecode.io avatar
unknown
python
a year ago
318 B
51
Indexable
Never
"""
Find the biggest number
Input: three integers
Output: the biggest one
"""

# Get input data
a = int(input("Enter a: "))
b = int(input("Enter b: "))
c = int(input("Enter c: "))

# find the biggest one
max = a
if max < b:
    max = b
if max < c:
    max = c

# display the result
print("The biggest integer is", max)