PracProg2cond

Making ChoicesT

2. a. x and y
b. not x
c. x or y

4. Yes. If you try substituting all possible Boolean values for (light < 0.01), which we’ll abbreviate as L, and (temperature > 0.0) as T, you’ll find the following Boolean expressions are logically equivalent: