Well.... It's mainly for the programmers convienence!<br>
It is much easier to represent say, a chessboard, in a program with a 2 dimentional array than a single dim array.
very simply put, you need 2d and multidimensional<br>
arrays for representing multidimensional data<br>
perfect example is for an inventory program for<br>
a business: SHOE INVENTORY:<br>
Color: red blue green<br>
0 1 2<br>
Size:0 23 45 64<br>
1 14 67 78<br>
2 09 10 34<br>
3 22 11 25<br>
this is 2-dim. data got it?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.