Fix a bug on array\array_pari.cpp

This commit is contained in:
Vichingo455 2024-12-21 07:23:40 +00:00
parent cab102901f
commit ab29f02538
1 changed files with 0 additions and 1 deletions

View File

@ -21,7 +21,6 @@ void printIfPeersOnPeerPositions(int array[]) {
if (isPeer(array[i])) { if (isPeer(array[i])) {
number_peers++; number_peers++;
} }
i++;
} }
if (number_peers == array_size) if (number_peers == array_size)
cout << "All numbers you gave me are peers." << endl; cout << "All numbers you gave me are peers." << endl;