[CODE]public class Cj {
public static void main(String[]args){
int x=100;
switch(x/100){
case 10:
case 9:
case 8:
System.out.println("优");
break;
case 7:
case 6:
System.out.println("良");
break;
default:
System.out.println("不及格");
}
}
}
case :10 没有这样的写法。是case 10:[/CODE]