|
|
Re: Problem in understanding three dimensional array
|
Posted: Feb 6, 2006 12:18 AM
|
|
Don't use println, but print. After every number post a blank space. Use println or print("\n") whenever you want to insert a line feed.
Note: 1. Threedimensional (or twodimensional) arrays do not exist. This is only a representation of an array. So you must choose how to display them.
2. You'll encounter one problem. Your screen is two dimensional, but your array is three-dimensional. How will you display the array? You have to cut it into n two dimensional arrays and display each one of them.
|
|