Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions Greatest of 3 nos.
Original file line number Diff line number Diff line change
@@ -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")