public class A {
/**
* @param args
*/
public static void main(String[] args) {
for(int i = 50;i < 100; i++){
boolean isPrime = true;
for(int j = 2; j <= Math.sqrt(i); j++){
if(i % j == 0){
isPrime = false;
break;
}
}
if(isPrime){
System.out.print(i + ", ");
}
}
}
}
-----------testing
53, 59, 61, 67, 71, 73, 79, 83, 89, 97,