00:01
Okay, so in this question we have two values, x and y, and we want to know what x and y be when we finish executing this program.
00:12
I copied it from the textbook and we have four different options, but i think we can simply look at x and y and then see how they change over each, if they change, how they change, how they change and then we'll just figure the option.
00:40
So we start there both x is equal to 30 and y is equal to 40.
00:47
Now x is greater or equal to zero.
00:50
So that means that we will not enter this else here.
00:59
So this else, i'm just going to cross the else.
01:03
We are not going to enter it.
01:09
Then x is lesser than 100 because x is still equal to 30 so i go and sign this if now here i adjust the value of y so y is equal to x times 3 so that means that x will remain the same that that that is no longer the current situation for my pair of variable now we'll have x will be equal to 30 that will won't change but my y will be x times three so three times 30 90 also because we entered this if x is less than 100 we won't enter this else here so this we will not touch it so we have one last condition which is if y is less than 50 but now y is equal to so that means that i will also not enter this if...