package dj;
import java.util.*;
public class dj {
public static void main(String[] args) {
Scanner cin=new Scanner(System.in);
while(true){
while(true)
{
System.out.println(“请输入分数”+"😊;
int score=cin.nextInt();
if(score<0||score>100)
{
System.out.println(“请输入一个0~100的整数”+"!");
}
else
{
switch(score/10)
{
case 10:
case 9:
System.out.println(“优秀”+"!");
break;
case 8:
System.out.println(“良好”+"!");
break;
case 7:
case 6:
System.out.println(“合格”+"!");
break;
case 5:
case 4:
case 3:
case 2:
case 1:
case 0:
System.out.println(“不合格”+"!");
break;
}
break;
}
}
}
}
}