Fix a bug on array\array_pari.cpp
This commit is contained in:
parent
cab102901f
commit
ab29f02538
|
@ -21,7 +21,6 @@ void printIfPeersOnPeerPositions(int array[]) {
|
|||
if (isPeer(array[i])) {
|
||||
number_peers++;
|
||||
}
|
||||
i++;
|
||||
}
|
||||
if (number_peers == array_size)
|
||||
cout << "All numbers you gave me are peers." << endl;
|
||||
|
|
Loading…
Reference in New Issue