From ac07fce0ddad4073e290cd4f1c21764a4299cddc Mon Sep 17 00:00:00 2001 From: yashkumarjha12 <72943344+yashkumarjha12@users.noreply.github.com> Date: Thu, 7 Oct 2021 17:23:19 +0530 Subject: [PATCH] Create Greatest of 3 nos. --- Greatest of 3 nos. | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Greatest of 3 nos. 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")