Well:


if (number % i == 0) {
prime = false;
break;
}
If this condition is given, that means the number is NOT primer, because it has another...