06.02.2015, 18:27
Quote:
Your code looks like this, with a little coding style:
pawn Код:
Line 1 is fine. Line 2 is fine. Line 3: - while (j < j) is like saying "while 1 < 1, do something". 1 will never be less than 1, they are equal. - I think you wanted to say "while(i<j)" Line 4 is fine. Line 5 is fine. Line 6: - This is called incrementation, you are adding 1 to i. - You forgot to add a semi-colon (the symbol ';') at the end of it. Line 7 is fine. The correct version: pawn Код:
|