Exercise:  Processing an array of strings


Array:  A collection of a fixed number of components all of the same data type.
   When one-dimensional, the components are arranged in list form.

General Form:
   dataType arrayName[intExp];
   For example:  string item[10];

Index:  A non-negative integer that specifies the position of a component in
   an array.  For example: 
      item[4] = "peanut butter"

1.  Declare an array named list that is to have as many as 25 string values.





2.  Prepare a program fragment to input and store list values as elements of 
    the array defined in step 1.








3.  Code and invoke a function to print the array of list values.







4.  Code and invoke a function to write the list array elements to a file.








5. Retrieve and print the data written to the list file created in the previous
   step.