VB问题 在线等

2024-11-15 07:06:47
推荐回答(2个)
回答1:

Option Explicit
Private Sub Form_Click()
Cls
Dim x As Integer
Dim i As Integer
'**********FOUND**********
i = 0
For x = 1 To 40
If (x / 3) = (x \ 3) Then
'**********FOUND**********
Print x;
i = i + 1
End If
'**********FOUND**********
If i Mod 5 = 0 Then
Print
End If
Next x
End Sub

回答2:

Option Explicit
Private Sub Form_Click()
Cls
Dim x As Integer
Dim i As Integer
'**********FOUND**********
i = 0
For x = 1 To 40
If (x / 3) = (x \ 3) Then
'**********FOUND**********
Print x;
i = i + 1
End If
'**********FOUND**********
If i Mod 5 = 0 Then
Print
End If
Next x
eerr32drfrew3w