单选题 VB
题号 #150555

在窗体上画一个名称为Command1的命令按钮,然后编写如下事件过程: 
Private Sub Command1_Click()  
x=-5  
If Sgn(x) Then  
y=Sgn(x∧2)  
Else  
y=Sgn(x)  
End If  
Print y  
End Sub 
程序运行后,单击命令按钮,窗体上显示的是(  )。

进入在线模考

参考答案

C

答案解析

暂无解析

你可能感兴趣的试题

找试题 · 找答案 · 找资料 在线模考