Fri Oct 24, 2008 6:12 pm
Fri Oct 24, 2008 6:13 pm
int RandPbNum [] = ...;
int PlayedPbNum [][] = ...;
...
int i;
for (i = 0; i < 55; i++) {
if (RandPbNum [i] != PlayedPbNum [1][i]) {
break;
}
}
if (i == 55) {
System.out.println ("RandPbNum [] and PlayedPbNum [1][] are equal");
} else {
System.out.println ("RandPbNum [] and PlayedPbNum [1][] are unequal
at position " + i);
}
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.