language: Java (sun-jdk-1.7.0_10)
date: 934 days 21 hours ago
link:
visibility: public
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
 
public class Main {
 
public static void main(String[] args) {
for(int input = 11; input <= 99; input += 2){
    boolean found = false;
    for(int x = 2; x < (int)Math.sqrt(input) + 1; x++){
        if(input%x == 0){
            found = true;
            break;
        }
        
    }
    if(!found) {
            System.out.println(input);
    }
}
}
}