package Jichuyufa;
public class Work007 {
public static void main(String[] args) {
int count = 0;
for (int x =2; x <= 100; x++) {
boolean flag = true;
for (int i = 2; i <= x - 1; i++) {
if (x%i==0){
flag=false;
}
}
if (flag){
System.out.print(x+"\t");
count++;
if (count%5==0){
System.out.println();
}
}
}
}
}
08-03
2123