问题描述:
VB.if sgn(x)
Private Sub Command1_Click()
Dim x As Integer,y As Integer
x = -4
If Sgn(x) Then
y = Sgn(x ^ 2)
Else
y = Sgn(x)
End If
End Sub
sgn函数不是为-1,0,或者1吗
if sgn(x)
Private Sub Command1_Click()
Dim x As Integer,y As Integer
x = -4
If Sgn(x) Then
y = Sgn(x ^ 2)
Else
y = Sgn(x)
End If
End Sub
sgn函数不是为-1,0,或者1吗
if sgn(x)
问题解答:
我来补答展开全文阅读