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.
And in this milestone, you are going to develop a basic weather station.
This milestone consists of two exercises.
In the first one, you have to write a program that gets from the user some temperature of double type.
And these temperature shoots represent.
B, we presented in Celsius degrees.
The program should calculate and convert the temperature from Celsius degrees to foreign aid degrees
and bring the result to the screen.
And the formula for the conversion from Celsius degrees to foreign aid degrees can be seen right here.
Basically what it says is simply get the temperature in Celsius degrees.
What the user enters then multiplied by one point eight.
And add a thirty two to it.
And that's how you get the temperature in Fahrenheit degrees.
That's the whole conversion story.
Just a simple mathematical equation.
Nothing more.
So, for example, just check it out at home.
If a user inserts a temperature of twenty six point five Celsius degrees, then this temperature will
be printed in foreign aid degrees, something like seventy six point seven.
If I'm not mistaken.
All right.
So that's the first part of this milestone to convert from Celsius degrees to foreign aid degrees.
And now we can move on to the second part where we are going to receive from the user the temperature
in foreign aid degrees.
And then to convert these temperature from Fahrenheit to Celsius degrees and print the result of the
screen pretty much the same as the first part of this milestone jars.
That right now, you probably have guessed it right.
The formula of the conversion is going to change to be changed.
So the formula in this case is going to be something like that.
Simply get the temperature in foreign aid degrees from the user, subtract 32 from it, and then the
whole answer, the whole result so far divided by one point eight million.
That's all.
So now you know the two formulas to convert from Celsius degrees to foreign aid and vice versa.
And all that remains is simply to write the code, to write the program, to support the functionality
of these weather station.
And I'll leave it to you guys tried on your phone.
Don't give up.
Be focus.
Stay focused.
And I wish you best of luck.
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.