int array [3] [3]; for (int i = 0; i<3; i++) { for(int j = 0; j<3; j++) { cout<<"Enter your array values:"<<endl; cin>> array[i] [j]; } } for (int i = 0; i<3; i++) { for(int j = 0; j<3; j++) { cout<<array[i] [j]<<endl; } }
for(int i = 0; i < 3; i++) { for (int j = 0; j < 3; j++) { cout<<array[i][j]<<"\t"; } cout<<endl; }
for (int i = 0; i<3; i++) { for(int j = 0; j<3; j++) { cout<<array[i][j]<<" "; } cout<<endl; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)