WEBVTT 00:00.270 --> 00:03.930 In this problem that we first create his own nurture your numbers. 00:03.930 --> 00:10.580 So when you do ask him about the size of the numbers in the actual numbers of the ARI. 00:12.550 --> 00:21.520 For that we will create a for loop at Aints from zero to and in every one of them we will read a value 00:21.520 --> 00:25.670 from the user then these value will be saved to the RV. 00:27.410 --> 00:30.700 After this process we need to calculate the maximum number. 00:30.740 --> 00:37.090 If you remember from the variables part of this cause the idea here is to initialize random value as 00:37.100 --> 00:37.810 maximal. 00:37.910 --> 00:46.940 So Max is equal to these number and then scan every other number to check if this is larger than these 00:46.940 --> 00:47.360 one. 00:47.360 --> 00:51.100 If you d make these number of marks you ended up with this process. 00:51.800 --> 00:53.950 First the input of the user. 00:55.660 --> 00:59.460 And then the we willingly celie's the least without any numbers. 00:59.460 --> 01:00.660 The follow up. 01:02.000 --> 01:05.870 That ain't zero tool in the JR. 01:05.910 --> 01:11.020 And as always we will get at the employer and value these value is in the end. 01:11.090 --> 01:14.810 We will have an input from the user number for these or something. 01:14.900 --> 01:22.570 Then add a dot up then of the temporarily riu that we already calculate or get from the user. 01:22.670 --> 01:31.200 So let's right we need five numbers and these numbers are 2 5 6 1 minus 2. 01:31.250 --> 01:32.630 Okay this seems right. 01:32.660 --> 01:39.860 Then we will initialize the maximal number that this equal to the first point of the three then four. 01:39.890 --> 01:47.600 I mean that ain't again from one because we already did something to the zero and then to the indigent 01:47.810 --> 01:49.190 end as always. 01:49.190 --> 01:53.720 Now if Maxy is less than add a. 01:53.870 --> 02:00.650 So this particular point is a good read there than the maximum value then for an hour on their maximum 02:00.650 --> 02:05.070 value is equal to this particular point or the RG without a way. 02:05.090 --> 02:07.840 We will always have the one part of that. 02:07.910 --> 02:11.960 Ari lets try to bring the maximum. 02:12.560 --> 02:18.940 So again we have sitting numbers that is you know minus five and 10. 02:19.370 --> 02:20.000 Okay. 02:20.030 --> 02:22.350 The result seems pretty good.