| Contact PSVM (Q & A) | Notes Below Audio | [toc] [prev] Slide 13 of 18 [next] |
|
|
| 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, [13 (top)], 14, 15, 16, 17, 18, [Lab] |
|
Notes for Slide 13 This slide shows an example of comparing two numbers for inequality using the is-not-equal-to-operator: != :which you will notice is the combination of the not-operator: ! :and the equals symbol: = :. If you read the not-operator as the word "not", the above if-statement could be read as, "if the value in the int variable guess is not equal to the int value 1812" or, more likely somebody would say "if guess does not equal 1812" 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, [13 (top)], 14, 15, 16, 17, 18, [Lab] |