Search:

Type: Posts; User: javapenguin

Search: Search took 0.09 seconds.

  1. Replies
    11
    Views
    2,475

    [SOLVED] Re: increase while loop && var

    It depends, if the while loop is supposed to end if just one of those conditions is false, then use a boolean

    boolean works = true;

    if in your for loop, a value equals target, you change works...
  2. Replies
    11
    Views
    2,475

    [SOLVED] Re: increase while loop && var

    You could always use a for loop.
  3. Replies
    11
    Views
    2,475

    [SOLVED] Re: increase while loop && var

    while ((x<y) &&
    ((red[0][x] != target) &&( red[1][x] != target) && (red[2][x] != target)
    && (red[3][x] != target) && (red[4][x] != target) && (red[5][x] != target) &&
    (red[6][x]!=...
Results 1 to 3 of 3