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:
-1
Step-by-step explanation:
Answer:
-1/2
Step-by-step explanation:
Given:

Find the common denominator for the fractions, which is 6. Rewrite 1/3 as 2/6.

Combine like terms.

Simplify.
-0.5x = 1/4
Divide both sides by -0.5.
x = -1/2 = -0.5
Please mark as Brainliest! :)
1.) 31
2.) 35
3.)85
4.) 10
5.)-1