| Contact PSVM (Q & A) | Notes Below Audio | [toc] [prev] Slide 6 of 10 [next] |
|
|
| 1, 2, 3, 4, 5, [6 (top)], 7, 8, 9, 10, [Lab] |
|
Notes for Slide 06 This slide shows examples of comparing two numbers for greatness using the greater-than-operator: < :which must be placed between two ints. Although you could compare two constant int values using the > operator, at least one of the ints on either side of the > operator is likely to be the value stored in an int variable. Similar to the ==, !=, and < operators, the result will be a true or false value, so, using the symbol false in your program will most often be more understandable to the person reading your program than the comparison of two constant int values such as (14>18). 1, 2, 3, 4, 5, [6 (top)], 7, 8, 9, 10, [Lab] |