WEBVTT 00:00.150 --> 00:03.880 It is common in programming the use of a more complex statement. 00:04.260 --> 00:06.200 Let's assume that we have three variables. 00:06.240 --> 00:10.970 A one B three and C zero. 00:10.980 --> 00:15.990 Now we need to create a block that A is gated it can be in the same time. 00:16.030 --> 00:18.980 B is greater than c. 00:25.380 --> 00:33.910 And if your solution is to create a if statement if he is a deader than B and B if B is greater than 00:33.910 --> 00:37.550 c then we can bring it correct. 00:37.660 --> 00:44.870 Again with regards to the caulton also we need to initialize a sequel to one is equal to three. 00:45.010 --> 00:46.580 She got five. 00:46.960 --> 00:49.000 In this case we will not see anything. 00:49.220 --> 00:50.660 Okay this is correct. 00:50.680 --> 00:56.440 On the other hand if we write 10 five and two we will see them. 00:56.440 --> 00:57.450 That's correct. 00:58.420 --> 00:59.840 This seems fine. 00:59.860 --> 01:02.710 I think that we can find a better way to develop this code. 01:02.740 --> 01:15.640 For example if A is gay that A then B and the same time B is greater than c then we can print correct 01:18.170 --> 01:21.130 with the way we succeed the same result. 01:21.220 --> 01:25.910 With only one line of code and it is very easy indeed do we give way of thinking. 01:26.020 --> 01:32.550 So this means that we need to have the end to this trial at the same time. 01:32.590 --> 01:40.190 Another example is if A is less than B order b less than c. 01:42.230 --> 01:45.430 In this statement even the first one is true. 01:45.650 --> 01:48.040 Or the second one is true. 01:48.260 --> 01:51.660 We will go in the statement the final one is not. 01:51.680 --> 02:01.580 For example if you write not a less than B you basically see a greater or equal to B because it is the 02:01.580 --> 02:02.940 complete opposite. 02:02.940 --> 02:07.920 We can try this for example instead of the first way would include this statement. 02:08.030 --> 02:17.000 F a gated A than B and B greater and C print correct. 02:17.300 --> 02:24.620 As you can see here we have two correct because both these men had any of these matters is printed. 02:24.620 --> 02:26.310 Also it is very easy to write. 02:26.330 --> 02:28.710 Else print. 02:30.470 --> 02:31.470 Wrong. 02:31.620 --> 02:36.560 So without either way we can tell when it is both or none of them correct. 02:36.850 --> 02:37.960 Well sure we can. 02:38.030 --> 02:42.960 Also we can drive there are if a less than B or and B. 02:42.980 --> 02:45.090 Liz can see it again. 02:45.090 --> 02:51.050 Print a message for example a b c doesn't really matter. 02:51.360 --> 02:52.740 Again we forget the column. 02:52.770 --> 02:54.480 This is a very classical mistake. 02:54.720 --> 03:03.600 So if A is less than B but B is graded of and C they again we would go to the A B C because we over 03:03.640 --> 03:05.990 the or one of them need to be true. 03:06.180 --> 03:08.960 Let's see if it is out or key A B C here. 03:08.970 --> 03:10.670 So this is correct. 03:10.920 --> 03:12.340 N here we have a wrong. 03:12.540 --> 03:18.400 Because we can go to the first E statement so we will definitely go to the second one.