Wednesday, September 7, 2011

Making A Multidimensional Array and Matrix

http://www.SchoolFreeware.com for code download
This tutorial will show how to create a multidimensional array. An 2 dimensional array (matrix) will be used to create a deck of playing cards. The playing cards have 4 suits with 13 ranks. An array of suit will be combined with an array of rank to make the 2D array of cards. The cards will be combined with nested for loops and printed to a text box.

No comments:

Post a Comment

There was an error in this gadget