Write a program in Visual Basic to display the table of the first composite number.
(first composite no. is 4)
don't give any extra answer
Answers
Answered by
0
Answer:
Write this program--
Private Sub Command1_Click()
Dim n, cnt, mult As Integer
List1.Clear
n = Val(Text1.Text)
For cnt = 1 To 10 Step 1
mult = n * cnt
List1.AddItem (mult)
Next cnt
End Sub
Private Sub Command2_Click()
Text1.Text = ""
List1.Clear
End Sub
Similar questions
Environmental Sciences,
1 day ago
India Languages,
1 day ago
Math,
3 days ago
Math,
3 days ago
Biology,
8 months ago
History,
8 months ago
Hindi,
8 months ago