Computer Science, asked by premamahar15, 3 days ago

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 vedansh0608
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