Private Sub Command1_Click()
Dim n As Integer
Cls
For i = 200 To 400
If i Mod 5 = 0 Or i Mod 7 = 0 Then
n = n + 1
Print i;
If n Mod 5 = 0 Then Print
End If
Next i
Print "满足条件的数共" n "个"
End Su
Private Sub Command1_Click()
Dim n As Integer
Cls
For i = 200 To 400
If i Mod 5 = 0 Or i Mod 7 = 0 Then
n = n + 1
Print i;
If n Mod 5 = 0 Then Print
End If
Next i
Print "满足条件的数共" n "个"
End Su