WEBVTT 00:00.270 --> 00:05.580 Avoiding very probably of the why laub is that it can that aren't and deliver yours are said to stop 00:05.770 --> 00:05.980 in. 00:06.000 --> 00:09.530 This can be developed in a very easy way for example of the a king. 00:09.600 --> 00:11.850 You ask three or four numbers. 00:14.460 --> 00:16.560 That they have saved in the Matrix. 00:17.700 --> 00:23.430 And he gives the number mine those five hundred and thirty two. 00:23.430 --> 00:29.780 This is the key number that gives a signal to their why look the stop. 00:29.880 --> 00:31.630 Now this is a major flaw. 00:31.710 --> 00:33.370 We take things that you have already. 00:33.360 --> 00:37.820 Not this indicates that the user had been put to these particular a number. 00:37.860 --> 00:40.510 This is still we identified as a flag. 00:40.660 --> 00:42.890 It will stop the program which is wrong. 00:42.900 --> 00:48.580 In this case of course there's a better way that you can overcome the problem but talk about that later. 00:48.660 --> 00:55.620 Let's implement this federal initialised on our a solar hot dog is equal to the east doing the number 00:55.620 --> 00:59.280 from the hawsers full numb is equal to. 00:59.700 --> 01:07.740 We need done in the general number and in part because it is from the huge number please. 01:08.520 --> 01:12.980 Finally we will create a y law that grants. 01:13.260 --> 01:18.230 Until then no from the user is not equal to the mine. 01:18.290 --> 01:20.140 Five hundred and thirty two. 01:20.370 --> 01:28.280 So if the number here is one These will run if the number is 5 again run and so on. 01:28.320 --> 01:32.600 If the number is equal to mine there's five hundred and thirty two. 01:32.880 --> 01:37.180 These Why look full stop so there's no need to save in the irey. 01:37.380 --> 01:38.450 So bored. 01:38.620 --> 01:39.590 Dork. 01:39.680 --> 01:42.200 Um bent in the number. 01:43.870 --> 01:46.710 To that we need to in these hills I know. 01:47.000 --> 01:48.730 So we will ask it from a user. 01:48.740 --> 01:51.670 No indeed during put into one. 01:51.860 --> 01:57.330 After about a minute to bring the whole hour in order to see you there results are correct. 01:59.250 --> 02:07.620 Frazier willing put 5 was in two minds 4 6 0 and then all these numbers were willing put. 02:07.620 --> 02:09.990 Mine was 5 candidate and 32. 02:10.080 --> 02:13.340 As you can see here the program stops in cells. 02:13.350 --> 02:16.890 There are a five to a minus 6 and 0. 02:16.890 --> 02:18.820 This is correct as always. 02:18.830 --> 02:20.740 Keep calling guys.