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

Notes for Slide 03
The question is how many variables are you willing
to use in your program to solve a problem?
So far, the examples have been relatively simple,
and typically did not involve more than seven values.
What would happen if your program needed to store 100 values?
Without arrays, the only way to store values is to use
one variable for each value.
Since each variablename must be unique, you would need to
create 100 variables each with a different name if you
wanted to store 100 values.
An array can store as many values as you want.
You can both store values into specific locations
of the array and later retrieve the values.


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