Search:

Type: Posts; User: Eli

Search: Search took 0.36 seconds.

  1. Re: How many iterations for each loop where max = 10 and incr = 3?

    This is what I have but what I don't understand is would I type in the max number as 10 each time?


    System.out.print("Please enter the max number:");

    int max = input.nextInt();
    int i = 0;...
  2. How many iterations for each loop where max = 10 and incr = 3?

    Anybody know how to do this?

    How many iterations for each loop where max = 10 and incr = 3?

    a) for (int i = 0; i < max; i++)
    b) for (int i = 0; i < max; i += 2)
    c) for (int i = 0; i < max; i...
Results 1 to 2 of 2