This commit is contained in:
vaisse
2025-09-10 16:37:41 +02:00
parent ca552281c9
commit 533d7685ca
5 changed files with 31 additions and 12 deletions

View File

@@ -14,7 +14,7 @@ void bubblesort(int* array, int length)
tmp = array[i-1];
array[i-1] = array[i];
array[i] = tmp;
swapped++;
swapped=1;
}
}
} while(swapped==1);