Thursday, April 19, 2012

Java Quick Way to Create an Array with Set of Possibilities

What would be a quick and simple way to create a two-dimensional array with set of possibilities?

For example, if the number is 5, I want the array to be:


if the number is 6,


Thanks in advance.

No comments:

Post a Comment