Last active
January 9, 2022 05:55
-
-
Save muthu1809/06a26291e4ad4d789e9d0a798cd48fb5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
no1 = 100 #1. முதலில் மூன்று எண்களை வாங்கிக்கொள்ளுங்கள். | |
no2 = 200 | |
no3 = 300 | |
if no1>no2: #2. முதல் எண்ணை எடுத்து, இரண்டாவது எண்ணை விடப் பெரியதாக எனப் பாருங்கள். அப்படி இருந்தால், | |
if no1>no3:#2.1. இப்போது, முதல் எண், மூன்றாவது எண்ணை விடப் பெரியதா எனப் பாருங்கள். | |
print("Biggest", no1) #2.2. அப்படியும் இருந்தால், முதல் எண்ணை அச்சிடுங்கள். | |
elif no3>no2: #2.3. முதல் எண், மூன்றாவது எண்ணைவிடப் பெரியது இல்லை எனில் (படி 2.1) 2.4. மூன்றாவது எண், இரண்டாவது எண்ணை விடப் பெரியதாக எனப் பாருங்கள். | |
print("Biggest", no3) #2.5. அப்படி இருந்தால், மூன்றாவது எண்ணை அச்சிடுங்கள். | |
else:#3. முதல் எண், இரண்டாவது எண்ணை விடப் பெரியதாக இல்லை என்றால், (படி இரண்டைப் பாருங்கள்), | |
if no2>no3:#3.1. இரண்டாவது எண், மூன்றாவது எண்ணை விடப் பெரியதாக இருக்கிறதா எனப் பாருங்கள். | |
print("Biggest", no2) #3.2 அப்படியிருந்தால், இரண்டாவது எண்ணை அச்சிடுங்கள். | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment