Franck's answer is better (using ~), but I just wanted to point out that the conditional in yours is slightly redundant. It's easy to forget that, since you already have a boolean value, you don't need to perform a comparison in your conditional. So you could have just done this...
<span>if x
x = false;
else
x = true;
<span>end</span></span>
Answer: -4
Step-by-step explanation: -4/4 = -1
Please mark Brainliest!
1/2 would not be a useful benchmark to compare these 2 fractions because both of them are greater than half. The benchmark fraction 1/2 is most useful when one fraction is less than half and the other more than 1/2. 5/8 is more than 4/8(1/2), and 9/10 is more than 5/10(1/2).