ptg7068951
116 HOUR 9:Storing Information with Arrays
Summary
Arrays make it possible to store complicated types of information in a pro-
gram and manipulate that information. They’re ideal for anything that can
be arranged in a list and can be accessed easily using the loop statements
that you learned about during Hour 8, “Repeating an Action with Loops.”
To be honest, the information processing needs of Santa Claus probably
have outgrown arrays. More children are manufactured each year, and the
gifts they want are increasing in complexity and expense.
Your programs are likely to use arrays to store information that is
unwieldy to work with using variables, even if you’re not making any lists
or checking them twice.