for (int i = 0; i < array_size; i++)\n{\n    for (int j = 0; j < array_size; j++)\n    {\n        cout << array[i][j] << " ";\n    }\n    cout << endl;\n}
Generate a valid C++ code to print out a two-dimensional array?