Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
French
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranî)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
Welcome back, ladies and gentlemen.
My name is Vlad, and this is an Alphatech programming chorus.
And in this challenge, you have to write a program that reads from the user three values and based
on these three values.
The program is going to find the maximum and the minimum between them.
And although we've seen how that can be done just by using two variables and it wasn't so complicated,
right now we are asked to find the maximum and the minimum between three variables, not just two,
but three variables.
So, for example, if we take a look at these three numbers, five, three and seven, I want that resolved.
The output on the screen to be something like maximum was seven and minimum was three and one.
These three numbers on.
Right.
And for another example, if we have the three numbers, two, five and one, then it's obvious that
the maximum is going to be five in this case and a minimum is going to be one.
So I hope the instructions are clear to you and that you have some idea of what pretty much you should
do to solve that.
And just the side note, you can't solve this challenge in a couple of ways and in a couple of different
options.
And although some of them may work eventually.
Yes.
I would like still to ask you to think of an optimized solution.
All right.
Meaning think of a solution to find meaning Moonman maximum and longer, these three numbers in the
most efficient way.
When you use as few conditions as possible.
So bear that in mind.
And I wish you good luck and I'll see you in the next video.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.