设窗体上有一个名为Text1的文本框和一个名为Command1的命令按钮,并有以下事件过程:
Private Sub Command1_Click()
x!=Val(Text1. Text)
Select Case x
Case Is<-10, Is>=20
Print "输入错误"
Case Is<0
Print 20-x
Case Is<10
Print 20
Case Is<=20
Print x+10
End Select
End Sub
程序运行时,如果在文本框中输入-5,则单击命令按钮后的输出结果是( )。
A.5
B.20
C.25
D.输入错误