import java.util.Scanner;
public class Score
{
public static void main(String[] args)
{
Scanner sc = new Scanner(System.in);
System.out.print("请输入学生人数:");
int length = sc.nextInt();
int[] scores = new int[length];
System.out.println("成绩对应的等级为:");
{
String level;
if (scores[i] >= 90) {
level = 'A';
} else if (scores[i] >=80 ) {
level = 'B';
} else if (scores[i] >= 70) {
level = 'C';
} else if (scores[i]>=60){
level = 'D';
}else{
level ='不及格'}
System.out.println("学生["+i+"] 成绩为: is "+scores[i]+" 等级为: is "+level);
}
}
}