public class aa{ public static void main (String args []){ //author:qq986945193 for (int i = 100;i<201;i++){ boolean flag = true; for (int j = 2;j<i-1;j++){ if(i%j==0){ flag = false; } } if(flag){ System.out.println(i); } } } } java源代码下载地址:http://do…
public class abswitch{ public static void main (String args []){ //author:qq986945193 int a=1; int b=2; int c; c=a;//c是1 a=b;//a是2 b=c;//b是1 System.out.println("a的值是:"+a); System.out.println("b的值是:"+b); } }…