public class helloworld{
public static void main(String[] ages){
int ont=20;
if(one=20){
System.out.println(one);
}
}
}
public static void main(String[] ages){
int ont=20;
if(one=20){
System.out.println(one);
}
}
}
2015-08-25
System.out.println((a && b) + "未通过");
System.out.println((c || d) + "通过");
System.out.println((b ^ c) + "未通过");
System.out.println((! c) + "通过");
System.out.println((c || d) + "通过");
System.out.println((b ^ c) + "未通过");
System.out.println((! c) + "通过");
2015-08-24
if(100<num/10&num/10<1000){count++;System.out.println("它是个4位的数!");}
else if(10<num/10&num/10<100){System.out.println("它是个3位的数!");}
else if(0<num/10&num/10<10){System.out.println("它是个2位的数!");}
else if(0<num/10){System.out.println("它是个1位的数!");}
else{System.out.println("无法计算");}
else if(10<num/10&num/10<100){System.out.println("它是个3位的数!");}
else if(0<num/10&num/10<10){System.out.println("它是个2位的数!");}
else if(0<num/10){System.out.println("它是个1位的数!");}
else{System.out.println("无法计算");}