// CMPSC 101 Ch. 5 Demo #13 #include using namespace std; int main() { int number = 0; int row; int col; int scores[5][3]; for (row = 0; row < 5; row++) // inputing array values { for (col = 0; col < 3; col++) { cout << "Enter next score: "; cin >> scores[row][col]; } } // printing 2D array for (row = 0; row < 5; row++) { for (col = 0; col < 3; col++) { cout << scores[row][col] << '\t'; } cout << endl; // advancing to next line } return 0; }// end of main