public class zhishu {
public static void main (String[] args) {
for(int i = 101; i <= 200; i++) {
boolean f = true;
for(int j=1 ;j<i; j++) {
if(i % j == 0) {
f = false;
break;
}
}
if(!f) {continue;}
System.out.print(" "+ i);
}
}
}
眼眸繁星
幕布斯7119047
相关分类