Hey, guys, what's up?
So in this video, we'll be solving one more problem.
So the problem statement is very simple.
You will be given teen members and we have to find the largest of three numbers.
OK, so given TNM ambush and we have to find the largest of teen and was there to the teen numbers are
a BNZ.
So what I'm gonna do is if eager to then be.
And a great DNC then sees the largest then is the largest number, so you can ride, so you out is the
largest number else if you are then going to checkers, if B is.
Then A and B is good, then C then is the largest number.
So you can write C out BS, the largest number, as if it is not the largest number.
If B is not the largest number, then obviously you can write C is the largest number.
OK.
So why am using F and L, Cerf and L's.
Because out of these three only one of them will be executed.
OK.
Simple.
So let's fight hard for it.
So I have made a file.
Largest off to no doubt CBP.
Now I am creating clearer variables A, B and C. I will take value in part from the user.
So say in A, B and C.
And now my work is very easy.
I just have to compare the values.
So if A is good then B and.
A is a good then then obviously sees the largest numbers, all you see is a good danzy then obviously.
So yes, it is the largest numbers I see out a.
Is the largest.
And save.
If be good, then A and B good, then C, then B is the largest number.
OK.
Else we can safely say that C is the largest number.
OK.
So this is all that we have to do.
So let us come Bilad program.
So there is an in this line.
What is the ETA?
If bees are then A and B, then C.
This is correct.
That is also correct.
So what is disasters?
OK.
So here when the code is extra.
Now this is kind of.
So let's say that three values are one, two and three.
So three is the largest.
You can also check for, let's say, two, five and one.
So five is the largest.
OK, so this was very simple.
You just have to use it as a fence.
OK.
So in this case, you can also write if because that doesn't make any difference.
OK, so you can write if, if and if if Aziga good, then be a good danzy, if bigger than a bigger
danzy, if Seagirt then as you would then be okay.
So that doesn't make any difference in this question.
But you should must know that very little difference between effective if an elusive.
OK.
Thank you.