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

Notes for Slide 10
Two ways to store a double value into a double variable is to
use a set-statement or an inputDouble-statement.
This slide shows visually what happens when the set-statement

average = 0.0;

is run. The value 0.0 would remain in the average variable until
it is replaced with either another set-statement or an
inputDouble-statement.
Actually, an inputDouble-statement will wait for the user to
enter input, so the value 0.0 would remain in the guess
variable until an inputDouble-statement is completed.


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