Contact PSVM   (Q & A)  |  Notes Below   Audio  |  [toc]   [prev] Slide 4 of 13 [next]
SIJLesson13 Slide04
1, 2, 3, [4 (top)], 5, 6, 7, 8, 9, 10, 11, 12, 13, [Lab]

Notes for Slide 04
The is-equal-to-operator: == :and
the is-not-equal-to-operator: != :are used for
equality checking and
the is-less-then-operator: < :and
the is-greater-than-operator: > :are used for
greatness checking.
All four of these operators are called "comparison
operators". The result of doing a comparison is
one of the two possible boolean values: trur or false.
Notice that the program example shown in the slide
is purposely difficult to understand compared to
an equivalent program using only one if-statement.


1, 2, 3, [4 (top)], 5, 6, 7, 8, 9, 10, 11, 12, 13, [Lab]