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

Notes for Slide 05
This slide shows a few examples of if-statements
given that the int value of 1819 is placed in
the int variables named guess and secretNumber.
Notice that the order of the ints is important.
Shown is the fact that switching the ints guess
and 1812 switches the result from false to true.
The first if-statement could be read out loud as,
"if guess is less than 1812"
and the second if-statement could be read out loud as,
"if 1812 is less than guess"


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