面试题答案
一键面试Dim score As Integer
score = 85 '假设这里赋一个值,实际中应从输入获取
If score >= 90 Then
Print "优秀"
ElseIf score >= 80 And score < 90 Then
Print "良好"
ElseIf score >= 60 And score < 80 Then
Print "及格"
Else
Print "不及格"
End If
Dim score As Integer
score = 85 '假设这里赋一个值,实际中应从输入获取
If score >= 90 Then
Print "优秀"
ElseIf score >= 80 And score < 90 Then
Print "良好"
ElseIf score >= 60 And score < 80 Then
Print "及格"
Else
Print "不及格"
End If