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...
Type: Posts; User: pbrockway2
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...
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...