下列VB程序运行时单击命令按钮Command1后文本框Text1和Text2中分别显示的内容是() 5
PrivatesubCommand1Click()DimiAsInteger,mAsIntegerm=1Fori=2To5m=m*iNextiText1.Text=Str...
Private sub Command1 Click()
Dim i As Integer,m As Integer
m = 1
For i = 2 To 5
m = m * i
Next i
Text1.Text = Str(m)
Text2.Text = Str(m) +Str(m)
End Sub 展开
Dim i As Integer,m As Integer
m = 1
For i = 2 To 5
m = m * i
Next i
Text1.Text = Str(m)
Text2.Text = Str(m) +Str(m)
End Sub 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询