| Contact PSVM (Q & A) | Notes Below Audio | [toc] [prev] Slide 7 of 9 [next] |
|
|
| 1, 2, 3, 4, 5, 6, [7 (top)], 8, 9, [Lab] |
|
Notes for Slide 07 The answers to these questions might require some thinking. Since the if-statement has a condition in it, we know that a not-operator could exist in an if-statement. Since a not-operator will turn a true into a false, and a false into a true, using two not-operators is the same as not using any not-operators. The final question might depend on your personal preference, but most people prefer to use an else-statement instead of negating the first of two if-conditions with a not-operator. 1, 2, 3, 4, 5, 6, [7 (top)], 8, 9, [Lab] |