package my;
import java.util.Scannepublic class hello {
public class hello{
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner sc = new Scanner(System.in);
System.out.println("请输入您的成绩:");
int score = sc.nextInt();
if(score < 0 || score >100)
{
System.out.println("您输入的格式有误,请重新输入!");
}
else {
switch (score/10) {
case 0 :
case 1:
case 2:
case 3:
case 4:
case 5:
System.out.println("该名同学的成绩等级为:E\n");
break;
case 6:
System.out.println("该名同学的成绩为:D\n");
break;
case