00:01
Okay, so in this question we have a and b integers and we have a boolean expression so not a lesser or equal to b and a times b greater to zero and we want to know under which condition will this expression be true.
00:21
So let's start with the first so a if a is equal to b or then that means that a is lesser or equal to be that would evaluate to true then that would mean that not a lesser or equal to be would be equal to false and remember i will write a reminder here true and true and true is equal to true true and false is equal to false false and true is equal to false and of course false and false and false is equal to false.
01:26
So this expression here i will call it i will give it a name actually i will call it the star.
01:35
So star could never be true if a is equal to b because not a lesser or equal than b would always be false let's try with condition b so condition b so condition we have a, i would write if to make formatting the same.
02:31
If a is greater than b, then that means that a lesser or equal than b would be false.
02:50
So that means that not a lesser or equal than b would be true.
02:59
So here that's that's good we need this side to be true but if a is greater than b do we have that a times b is greater than two so actually i'm gonna write let a equal 10 and b b equal minus 10 so we have a is greater than b so our condition is true but a times b is equal to minus 100 which is clearly lesser than zero so our star equation our star boolean expression could be false if a is greater than zero and b is less less or equal to zero so it won't always be true if a is greater or equal to b now we'll need to scroll down a bit to write the remaining two options.
04:55
So if i have c, condition c is a if a is less than b.
05:12
So that means that a lesser or equal to b is true...