Hi, I am new to C++ and in need of a little help.
I am trying to output a two dimension array of student names, "n". The names that are being inputed are: Corey, David, Kacey, Terry
The code I have at the moment is:
#define STUDENTCOUNT 4
cout << "Name" << endl;
for(int i = 0; i < STUDENTCOUNT; i++)
cout << n[i] << " \n";
The output that I get is
Any ideas on why I am getting this output would be appreciated.