Search:

Type: Posts; User: pbrockway2

Search: Search took 0.10 seconds.

  1. Replies
    5
    Views
    1,376

    [SOLVED] Re: Cannot get out of do-while loop

    What does "doesnt work" mean? In particular, under what circumstances is the loop supposed to finish?

    Remember the condition you put in the while part is the condition that means the loop keeps...
  2. Replies
    5
    Views
    1,376

    [SOLVED] Re: Cannot get out of do-while loop

    If I understand the logic of the loop only one cell ever has the value 5. So



    board[2][5]!=5 ||board[3][2]!=5 || board[4][4]!=5


    this expression will always be true. That is, either 5 is...
Results 1 to 2 of 2