Skip to content
Snippets Groups Projects
Commit e134d875 authored by Elyas Ouidir's avatar Elyas Ouidir
Browse files

C ET DEBUGAGE

parent 36fea3ef
Branches
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ void primes(int numbers[]) {
for (i=0; i<TAILLE; i++) {
bool isPrime = true;
int m;
for (m=1; m < numbers[i] ;m++) {
for (m=2; m < numbers[i] ;m++) {
if (numbers[i] % m == 0) {
isPrime = false;
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment