Last active
February 21, 2023 12:08
-
-
Save muthu1809/6071d8280d99118f1fe9b17bb4e0b95a 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 #மூன்று எண்களை வாங்க வேண்டும். | |
no2 = 200 | |
no3 = 300 | |
if no1>no2 and no1>no3: #மூன்று எண்களில் முதல் எண்ணை எடுத்து, மீதி இரண்டு எண்களை விடப் பெரியதாக எனப் பாருங்கள் | |
print("Biggest ", no1) #அப்படியிருந்தால் மட்டும், முதல் எண்ணை அச்சிடுங்கள். | |
elif no2>no1 and no2>no3:#இல்லை என்றால், இரண்டாம் எண்ணை எடுங்கள். அதை, முதல் எண்ணோடும் மூன்றாடும் எண்ணோடும் ஒப்பிட்டு, இரண்டாம் எண் பெரியதாக எனப் பாருங்கள். | |
print("Biggest ", no2) #அப்படியிருந்தால் இரண்டாம் எண்ணை அச்சிடுங்கள். | |
else: #அதுவும் இல்லை என்றால், மூன்றாவது எண் தான் பெரியதாக இருக்கும் அல்லவா? | |
print("Biggest ", no3) #அதை அச்சிடுங்கள். |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment