I is the row and J is the column.It appears in java that the columns get printed first because that's the inner loop. I'm trying to get it to look like this:
1 5 9 13 17 21
2 6 10 14 18 22
3 7...
Type: Posts; User: jaheh06
I is the row and J is the column.It appears in java that the columns get printed first because that's the inner loop. I'm trying to get it to look like this:
1 5 9 13 17 21
2 6 10 14 18 22
3 7...
My code is this
public class temp
{
public static void main(String[] args)
{
for (int i = 1; i <= 4; i++)
{
for (int j = 1; j <= 6; j++)
{