** Program:-**

a=int(input("a="))

b=int(input("b="))

c=int(input("c="))

if a>b:

if a>c:

print(f"greater among {a} ,{b} and {c} is ",a)

else:

print(f"greater among {a} ,{b} and {c} is ", c)

else:

if b>c:

print(f"greater among {a} ,{b} and {c} is ",b)

else:

print(f"greater among {a} ,{b} and {c} is ", c)

Output:-

a=2

b=3

c=1

greater among 2 ,3 and 1 is 3

## 0 Comments