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

Notes for Slide 10
In the lab, you will write a program that
uses a while-condition loop that will end
when a secret number is guessed.
Reporting if the guess is too high or too low should
help the person playing the game so that the game
will end without having to guess up to 64 times.

Modifying the above program by placing it inside
another loop helps verify that loops can exist
inside of other loops.
This was not discussed in the slides,
but is similar to the previous lesson that
covers nesting if-constructs.


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