UncleLeroy 49 Junior Poster in Training

One of the rules on this site is: Do not post homework problems expecting a quick answer without showing any effort yourself.

The posted code does not show any effort toward creating a 1D array.