display an array table

hi everyone, i took some c++ classes in the summer. now the curse is over but i never learned how to display an array table. my last exercise was a complete failure just because that. i do not understand how to display the table properly.
some help will be appreciated!

Last edited on
1
2
3
4
5
6
7
8
for(int column=0; column<x; column++)
{
     for (int row=0; row< y; row++)
     {
           cout << array[column][row] << " ";
     }
    cout << endl;
}
Thanks Albo Coder
Topic archived. No new replies allowed.