day19-1 输入你的成绩判断你是否什么等级

/*import java.util.Scanner;
public class zuoye{
public static void main(String[] args){
System.out.println("请输入考试成绩");
Scanner a= new Scanner(System.in);
double b=a.nextDouble();
if(b>=90){
System.out.println("你的成绩为A等");
}else if(b>=80){
System.out.println("你的成绩为B等");
}else if(b>=70){
System.out.println("你的成绩为C等");
}else if(b>=60){
System.out.println("你的成绩为D等");
}else {
System.out.println("你的成绩为E等");
}
}
}*/

原文地址:https://www.cnblogs.com/hfew/p/10520789.html