Dear Copeg, Norm, and Bryan:
I tried while( i < ( limit - 1 )) and it works! Thank you very much indeed for your clever suggestion! Have a nice day!
Regards.
John
Type: Posts; User: Johnpower
Dear Copeg, Norm, and Bryan:
I tried while( i < ( limit - 1 )) and it works! Thank you very much indeed for your clever suggestion! Have a nice day!
Regards.
John
Thank you Bryan. I don't have problem with that line. If you copy and paste the whole code on Source Editor, the problem is on Line 50: if (C[ i ].equals( C[ i - 1 ] ). Nothing seems to be wrong...
Dear Friends:
The if statement in the while loop Line 50 is always wrong. I don't see anything wrong in it. If a pair of same numbers are put in the array, it runs well. If there is no such a pair...