When I run it it hits the INPUT function and waits for input. Even though the program does not prompt the user to enter something, I tested it by entering integers.
First I entered 1, which allowed me to enter it four times before performing a calculation and returning some obscure values.
I then entered all 2's, which allowed me to enter 13 times before performing a calculation and returning some obscure values.
Finally, I entered 3's which allowed me to enter 34 times before performing a calculation and returning some obscure values.
What I can tell is that it creates and array and does "something" with the numbers, after which is places them in a grid.
But, I can't tell for the life of me what. There's no rhyme or reason to the output.
Time to learn to use your debugger. It will show you exactly what your program is doing and why. That's what any of us would do and it's absolutely indispensable. You cannot write working programs without it. It's not optional.
* The Perfect Platform for Game Developers: Android
Developing rich, high performance Android games from the ground up is a daunting task. Intel has provided Android developers with a number of tools that can be leveraged by Android game developers.
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.