Lab 9 - Array of C-style Strings

The purpose of this lab is to get familiar with the syntax for creating and manipulating an array of C-style strings. Your array of strings will be a list of names, including both first and last names. You will be using a partially filled array for the names.

In main() you will prompt the user for how many names they wish to enter. Validate that the number of names is between 0 and the maximum number of rows for the array. Then use a for() loop to get each name one by one using cin.getline(). You MUST use getline() to read both the first and last names. Finally, have a second for() loop that prints each name to the screen.

Email your completed source code to me.