Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:00,300 --> 00:00:02,130
Welcome back, ladies and gentlemen.
2
00:00:02,220 --> 00:00:06,930
And in this milestone, you are going to develop a basic weather station.
3
00:00:07,260 --> 00:00:10,200
This milestone consists of two exercises.
4
00:00:10,230 --> 00:00:16,470
In the first one, you have to write a program that gets from the user some temperature of double type.
5
00:00:16,890 --> 00:00:19,210
And these temperature shoots represent.
6
00:00:19,280 --> 00:00:21,620
B, we presented in Celsius degrees.
7
00:00:21,930 --> 00:00:27,780
The program should calculate and convert the temperature from Celsius degrees to foreign aid degrees
8
00:00:28,050 --> 00:00:29,790
and bring the result to the screen.
9
00:00:30,060 --> 00:00:36,720
And the formula for the conversion from Celsius degrees to foreign aid degrees can be seen right here.
10
00:00:36,870 --> 00:00:41,520
Basically what it says is simply get the temperature in Celsius degrees.
11
00:00:41,790 --> 00:00:46,140
What the user enters then multiplied by one point eight.
12
00:00:46,230 --> 00:00:48,540
And add a thirty two to it.
13
00:00:48,840 --> 00:00:52,760
And that's how you get the temperature in Fahrenheit degrees.
14
00:00:52,860 --> 00:00:54,660
That's the whole conversion story.
15
00:00:54,690 --> 00:00:57,700
Just a simple mathematical equation.
16
00:00:57,900 --> 00:00:58,740
Nothing more.
17
00:00:58,980 --> 00:01:01,860
So, for example, just check it out at home.
18
00:01:02,190 --> 00:01:09,870
If a user inserts a temperature of twenty six point five Celsius degrees, then this temperature will
19
00:01:09,870 --> 00:01:15,280
be printed in foreign aid degrees, something like seventy six point seven.
20
00:01:15,330 --> 00:01:16,650
If I'm not mistaken.
21
00:01:16,980 --> 00:01:17,680
All right.
22
00:01:17,730 --> 00:01:24,000
So that's the first part of this milestone to convert from Celsius degrees to foreign aid degrees.
23
00:01:24,270 --> 00:01:30,960
And now we can move on to the second part where we are going to receive from the user the temperature
24
00:01:30,960 --> 00:01:32,250
in foreign aid degrees.
25
00:01:32,520 --> 00:01:38,730
And then to convert these temperature from Fahrenheit to Celsius degrees and print the result of the
26
00:01:38,730 --> 00:01:44,690
screen pretty much the same as the first part of this milestone jars.
27
00:01:45,040 --> 00:01:48,290
That right now, you probably have guessed it right.
28
00:01:48,660 --> 00:01:53,100
The formula of the conversion is going to change to be changed.
29
00:01:53,340 --> 00:01:56,780
So the formula in this case is going to be something like that.
30
00:01:57,000 --> 00:02:04,260
Simply get the temperature in foreign aid degrees from the user, subtract 32 from it, and then the
31
00:02:04,260 --> 00:02:09,540
whole answer, the whole result so far divided by one point eight million.
32
00:02:09,780 --> 00:02:10,310
That's all.
33
00:02:10,560 --> 00:02:17,050
So now you know the two formulas to convert from Celsius degrees to foreign aid and vice versa.
34
00:02:17,580 --> 00:02:25,590
And all that remains is simply to write the code, to write the program, to support the functionality
35
00:02:25,590 --> 00:02:27,420
of these weather station.
36
00:02:27,870 --> 00:02:30,360
And I'll leave it to you guys tried on your phone.
37
00:02:30,630 --> 00:02:31,590
Don't give up.
38
00:02:31,740 --> 00:02:32,640
Be focus.
39
00:02:32,670 --> 00:02:33,870
Stay focused.
40
00:02:34,380 --> 00:02:37,380
And I wish you best of luck.
41
00:02:37,620 --> 00:02:38,970
I'll see you in the next video.
3810
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.