diff --git a/Greatest of 3 nos. b/Greatest of 3 nos. new file mode 100644 index 0000000..39007ff --- /dev/null +++ b/Greatest of 3 nos. @@ -0,0 +1,10 @@ +first = int(input("Enter first number:")) +second = int(input("Enter second number:")) +third = int(input("Enter third number:")) + +if first > second and first > third: + print("First is Greater than Second and Third") +elif second > first and second > third: + print("Second is Greater than First and Third") +else: + print("Third is Greater than First and Second")