Friday, February 17, 2012

More Fun with Arrays:2D, Sorting, Tic-Tac-Toe

Next week we will do a lot of array examples. First, we have multi-dimensional arrays:





Here is an example of how to implement the insertion sort algorithm.





Finally, an example of how to build a tic-tac-toe board using arrays.


No comments: