1. Dim i As Integer Dim msg As String For i = 20 To 29 If i Mod 3 = 0 Then msg = msg & "Число " & i & " делится на 3" & vbCrLf End If Next ' c2fbefeeebede8eb3a20caf3eff0e8ffedeee220c42ec52e2028632920442d6d6f6e3535 MsgBox(msg)
2. Dim n As Integer Dim msg As String msg = "" For n = 1 To 100 msg = msg & "S= " & CStr("2*" & n & "+" & n) & "=" & (2 * n + n) & vbCrLf
Dim i As Integer
Dim msg As String
For i = 20 To 29
If i Mod 3 = 0 Then
msg = msg & "Число " & i & " делится на 3" & vbCrLf
End If
Next
' c2fbefeeebede8eb3a20caf3eff0e8ffedeee220c42ec52e2028632920442d6d6f6e3535
MsgBox(msg)
2.
Dim n As Integer
Dim msg As String
msg = ""
For n = 1 To 100
msg = msg & "S= " & CStr("2*" & n & "+" & n) & "=" & (2 * n + n) & vbCrLf
Next
MsgBox(msg)
Жми Лучший