请问老师是否正确
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>成绩判断</title>
</head>
<body>
<script>
//补充代码
var score=prompt("请输入学生的成绩");
if(score>=90 && score<=100){
alert=("优秀");
}else if(score>=80 && score<=89){
alert=("良好");
}else if(score>=70 && score<=79){
alert=("一般");
}else if(score>=60 && score<=69){
alert=("及格");
}else if(score<60){
alert=("不合格");
}else{
alert=("您输入的成绩有误");
}
</script>
</body>
</html>11
收起
正在回答 回答被采纳积分+1
2回答


恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧
0 星