这样?
Private Sub Command1_Click()
Dim A
A = 10
'假设A变量,(8-12A)*SIN(3.4π+2)的VB表达式是
MsgBox (8 - 12 * A) * Sin(3.14 * PI + 2)
End Sub
结果=-101
这样?
Private Sub Command1_Click()
Dim A
A = 10
'假设A变量,(8-12A)*SIN(3.4π+2)的VB表达式是
MsgBox (8 - 12 * A) * Sin(3.14 * PI + 2)
End Sub
结果=-101