this program just prints out prime number within the range of the for loop. however it doesn't print anything.
boolean prime;
for(int i = 11; i < 100; i++){
prime = isPrime(i); //this method works as i tested it before
if(prime){
System.out.println(i);
}
}
everytime i run this program, nothing prints out. the method that i use works if i enter a single number and it would tell me if it's a prime number or not.