vb程序设计简答题 10
阅读程序题PrivateSubForm_Click()DimiAsInteger,kAsIntegerk=0Fori=1To4Ifi>2Thenk=k+4ExitForE...
阅读程序题
Private Sub Form_Click()
Dim i As Integer, k As Integer
k = 0
For i = 1 To 4
If i > 2 Then
k = k + 4
Exit For
Else
k = k + 1
End If
Next i
Print i, k
End Sub
写出程序运行时单击窗体后,Form1上的输出结果。 展开
Private Sub Form_Click()
Dim i As Integer, k As Integer
k = 0
For i = 1 To 4
If i > 2 Then
k = k + 4
Exit For
Else
k = k + 1
End If
Next i
Print i, k
End Sub
写出程序运行时单击窗体后,Form1上的输出结果。 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询