Chapter 2 Example 8: An Array

Created an array with three elements, wrote them to the console, and
then changed the value of the second element.