Search:

Type: Posts; User: jaheh06

Search: Search took 0.17 seconds.

  1. Replies
    5
    Views
    2,049

    Re: I'm new at this and can't figure it out

    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...
  2. Replies
    5
    Views
    2,049

    I'm new at this and can't figure it out

    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++)
    {
Results 1 to 2 of 2