水題
import java.util.Scanner;
public class Main {
public static void main(String args[]) {
Scanner sr=new Scanner(System.in);
while(sr.hasNext()){
int value = sr.nextInt();
if(value > 100 || value < 0) {
System.out.println("Score is error!");
continue;
}
switch(value/10){
case 10:
case 9 :
System.out.println("A");
break;
case 8 :
System.out.println("B");
break;
case 7 :
System.out.println("C");
break;
case 6:
System.out.println("D");
break;
default:
System.out.println("E");
}
}
}
}