1
00:00:02,190 --> 00:00:03,600
Hey, guys, what's up?

2
00:00:04,080 --> 00:00:07,320
So in this video, we'll be solving one more problem.

3
00:00:07,790 --> 00:00:09,600
So the problem statement is very simple.

4
00:00:09,960 --> 00:00:16,350
You will be given teen members and we have to find the largest of three numbers.

5
00:00:17,400 --> 00:00:22,920
OK, so given TNM ambush and we have to find the largest of teen and was there to the teen numbers are

6
00:00:22,950 --> 00:00:23,770
a BNZ.

7
00:00:24,360 --> 00:00:27,750
So what I'm gonna do is if eager to then be.

8
00:00:29,560 --> 00:00:39,100
And a great DNC then sees the largest then is the largest number, so you can ride, so you out is the

9
00:00:39,100 --> 00:00:45,790
largest number else if you are then going to checkers, if B is.

10
00:00:46,020 --> 00:00:52,360
Then A and B is good, then C then is the largest number.

11
00:00:52,420 --> 00:00:59,710
So you can write C out BS, the largest number, as if it is not the largest number.

12
00:00:59,890 --> 00:01:05,620
If B is not the largest number, then obviously you can write C is the largest number.

13
00:01:06,610 --> 00:01:06,930
OK.

14
00:01:07,670 --> 00:01:11,140
So why am using F and L, Cerf and L's.

15
00:01:11,650 --> 00:01:15,390
Because out of these three only one of them will be executed.

16
00:01:16,860 --> 00:01:17,120
OK.

17
00:01:18,100 --> 00:01:18,580
Simple.

18
00:01:19,900 --> 00:01:21,160
So let's fight hard for it.

19
00:01:21,280 --> 00:01:22,840
So I have made a file.

20
00:01:22,960 --> 00:01:26,020
Largest off to no doubt CBP.

21
00:01:26,740 --> 00:01:34,480
Now I am creating clearer variables A, B and C. I will take value in part from the user.

22
00:01:34,570 --> 00:01:37,480
So say in A, B and C.

23
00:01:38,170 --> 00:01:39,970
And now my work is very easy.

24
00:01:40,210 --> 00:01:42,190
I just have to compare the values.

25
00:01:42,610 --> 00:01:47,650
So if A is good then B and.

26
00:01:49,860 --> 00:01:59,820
A is a good then then obviously sees the largest numbers, all you see is a good danzy then obviously.

27
00:02:00,190 --> 00:02:03,450
So yes, it is the largest numbers I see out a.

28
00:02:06,660 --> 00:02:08,130
Is the largest.

29
00:02:19,170 --> 00:02:19,830
And save.

30
00:02:28,620 --> 00:02:37,500
If be good, then A and B good, then C, then B is the largest number.

31
00:02:38,750 --> 00:02:38,990
OK.

32
00:02:45,990 --> 00:02:54,230
Else we can safely say that C is the largest number.

33
00:03:01,010 --> 00:03:01,270
OK.

34
00:03:01,820 --> 00:03:03,830
So this is all that we have to do.

35
00:03:04,820 --> 00:03:06,670
So let us come Bilad program.

36
00:03:08,330 --> 00:03:09,800
So there is an in this line.

37
00:03:09,980 --> 00:03:10,910
What is the ETA?

38
00:03:12,630 --> 00:03:15,490
If bees are then A and B, then C.

39
00:03:18,570 --> 00:03:19,530
This is correct.

40
00:03:21,070 --> 00:03:22,220
That is also correct.

41
00:03:23,840 --> 00:03:25,130
So what is disasters?

42
00:03:35,840 --> 00:03:35,980
OK.

43
00:03:36,240 --> 00:03:37,920
So here when the code is extra.

44
00:03:38,940 --> 00:03:39,780
Now this is kind of.

45
00:03:43,940 --> 00:03:47,330
So let's say that three values are one, two and three.

46
00:03:47,870 --> 00:03:48,980
So three is the largest.

47
00:03:51,680 --> 00:03:57,440
You can also check for, let's say, two, five and one.

48
00:03:58,010 --> 00:03:59,660
So five is the largest.

49
00:04:00,320 --> 00:04:02,150
OK, so this was very simple.

50
00:04:03,380 --> 00:04:05,610
You just have to use it as a fence.

51
00:04:06,670 --> 00:04:06,930
OK.

52
00:04:08,280 --> 00:04:13,200
So in this case, you can also write if because that doesn't make any difference.

53
00:04:14,360 --> 00:04:20,660
OK, so you can write if, if and if if Aziga good, then be a good danzy, if bigger than a bigger

54
00:04:20,660 --> 00:04:23,970
danzy, if Seagirt then as you would then be okay.

55
00:04:24,920 --> 00:04:27,620
So that doesn't make any difference in this question.

56
00:04:28,000 --> 00:04:32,810
But you should must know that very little difference between effective if an elusive.

57
00:04:34,140 --> 00:04:34,350
OK.

58
00:04:35,630 --> 00:04:36,090
Thank you.
