| 你注意一下标点符号,别有中文的标点了,还有就是全角的空格。见以下,是修改的了。 <html> <head><title>如果就否则如果就</title> <script language="VBscript"> <!-- score = InputBox("请输入计算机成绩:","输入成绩") If score >= 90 Then msg="优等" ElseIf score<90 and score>=80 Then msg="甲等" ElseIf score<80 and score>=70 Then msg="乙等" ElseIf score<70 and score>=60 Then msg="丙等" Else msg="丁等" End If Msgbox "您的计算机成绩为 " & msg --> </script> </head> </html> |