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
What is going on, ladies and gentlemen, welcome back to our course, to our practice, to our exercises
in these exercises, going to be pretty interesting, a little bit different than the previous ones.
So what do you have to do is simply, OK, let's get the laser to the game, is to write a program that
receives a coordinate point in an X Y system.
So suppose that you have these X Y system and you have some point that has coordinates of X and Y,
these things may be either positive or negative and also Y may be either positive or negative.
So in this case, what we will have is just to decide where these point is located.
Is it located on the first quadrant, on the second, third or fourth?
And basically, if you will come to think about it at this point, maybe either here, here, here or
here, and the program should determine that and print in which quadrant the point is located.
So for that, we will have to apply a couple of let's see conditions to make sure that the point is
either here, here, here or here.
So, for example, if you have the first point is like 10 and 15, meaning the X is ten and Y is 15.
So we can assume that it's on quadrant one.
And also, if we have the second example of minus three and minus five, then in this case we know that
the X is probably going to be somewhere here and the Y is going to be negative.
So it's going to be probably somewhere in this position.
So in this case, we should print quadrant three.
And also, let's take elastics, our last example, example, number three in this case, so where the
X is still and the Y is minus five, then we know in this case that if X is positive, it's probably
going to be somewhere here.
And if Y is negative, it's not going to be here.
It's probably going to be somewhere below.
And if it's going to be in this area, it's probably going to be quadrant four.
And that's what we would like to print.
So take a couple of moments to think about it, think about what should be the condition.
How should you write in your programming language, how you should you tackle this exercise and yeah,
we'll solve it together, of course, as usual.
So until then, my name is Vlad.
This is Alphatech, and I hope you really enjoy the course so far.
So thank you guys for watching.
And I will see you then.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.