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.