Monday, December 10, 2007

How to put an MATRIX in array

How to put an MATRIX in array

To put an MATRIX in array

#include

int main()

{

int x,y,multiarray[4][2] = { {9,7}, {3,2}, {0,6}, {3,3}};

for (x = 0; x<4;>

for (y=0; y<2;>

{

cout << "SomeArray[" <<>

cout <<>

}

return 0;

}

Result :

No comments: