不知有谁能够详细的解释一下这个意思啊。谢谢了。
内容如下:
Private Sub Form_Click()
Dim i, n, sum As Integer
For i = 1 To 5
For n = 1 To 100
sum = sum + n
Next n
sum = sum + i
Next i
Print sum
End Sub
还有一个和它差不多了,如下:
Private Sub Form_Click()
Dim i, n, sum As Integer
For i = 1 To 5
For n = 1 To 100
sum = sum + n
Next n
sum = sum + i
If sum > 10000 Then Exit For
Next i
Print sum
End Sub
谢谢各位了,最好解释很清楚,虽然,那些格式我知道一些,不过,具体情况具体分析,我实在有点头疼了,请大家帮帮忙了。