package Student;
import java.util.Scanner;
public class Grade {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
System.out.println("请输入分数:");
Scanner input=new Scanner(System.in);
int i=input.nextInt();
i=i/10;
switch(i){
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: if(i>=0&& i<=60){
System.out.println("E");
}else{
System.out.println("输入的数不是有效分数");
}
break;
}
}
}