代码如下:
代码语言:javascript复制public class al {
public static void a() {
//int b = 0;
//System.out.print("请输入数字:");
//Scanner sc=new Scanner(System.in);
//int c=sc.nextInt();
int i;
for(i=0;i<=100;i ) {
int l = i;
if(l==3||l==5||l==7) {
System.out.print("结果:" i "n");
}
//sc.close();
}
}
public static void main(String[] args) {
al.a();
}
}