我正在编写一个将#s 转换为成绩的javascript 程序。我不断收到语法错误,但我似乎看不到它。你有什么建议让我解决这个问题吗?
<script>
if (var entry >=94 and (&&) var entry <=100) prompt var letterGrade="A";
else if (var entry >=86 and (&&) var entry <=93 ) prompt var letterGrade ="B";
else if (var entry >=78 and (&&) var entry <=85) prompt var letterGrade ="C";
else if (var entry >=70 and (&&) var entry <=77 ) prompt var letterGrade ="D";
else if (var entry >=69) prompt var letterGrade ="F";
alert("Number grade = " + entry + "\n"
+ "Letter grade = " + letterGrade);
}
while (entry != 999);
</script>