Page
Greatest of three solution W2S1P2
Greatest of three solution W2S1P2
print ("Hello! Please insert three numbers and i will find the greatest.")
a = int(input("The first number is : "))
b = int(input("The second number is : "))
c = int(input("The third number is : "))
if a>b and a>c :
greatest = a
elif b>a and b>c :
greatest = b
else:
greatest = c
print ("Great! The greatest number of", a,",",b,",",c, " is ", greatest)
Last modified: Tuesday, 9 May 2017, 2:03 PM