Contact PSVM   (Q & A)  |  Notes Below   Audio  |  [toc]   [prev] Slide 7 of 18 [next]
SIJLesson05 Slide07
1, 2, 3, 4, 5, 6, [7 (top)], 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, [Lab]

Notes for Slide 07
The if-statement begins the specification of a block of statements that
are run if the if-statement condition is true. If the if-statement
condition is false, the statements that follow the if-statement are
not run. At some point before the end of the program, there must
be a matching end-if statement for each if-statement.
This slide shows one possible location for an end-if statement in
an example program.


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