问题描述:
看看这段vb程序哪里错了(已知一元一次方程为AX+B=0,设计一个程序,当用户输入A和B的值,输出X值,界面如
Private Sub Command1_Click()
Dim a As Integer,b As Integer,c As Single
Text1.Text = a
Text2.Text = b
c = -b / a
Text3.Text = c
End Sub
Private Sub Command2_Click()
End
End Sub
Private Sub Command1_Click()
Dim a As Integer,b As Integer,c As Single
Text1.Text = a
Text2.Text = b
c = -b / a
Text3.Text = c
End Sub
Private Sub Command2_Click()
End
End Sub
问题解答:
我来补答展开全文阅读