Write a program to print even number from 1 to 10 using FOR NEXT loop?
Answers
Answered by
0
Answer:
Private Sub Command_Click()
Dim i As Integer
For i = 1 To 10
If i%2=0 Then
List1.AddItem(i)
End If
Next
End Sub
Similar questions