7 lines
142 B
Text
7 lines
142 B
Text
For num As Integer = 1 To 5
|
|
If num Mod 2 = 0 Then
|
|
MsgBox(Str(num) + " is even.")
|
|
Else
|
|
MsgBox(Str(num) + " is odd.")
|
|
End If
|
|
Next
|