VB编写程序 输出100以内能被3整除且个位数为6的所有整数,谢谢

2024-11-15 17:33:20
推荐回答(1个)
回答1:

Dim i As Integer
For i = 1 To 100
If i Mod 3 = 0 Then
Print i
End If
Next i