Write a Vb.net program to accept a number from an user through InputBox and display its multiplication table into the ListBox.
Slip No 4
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
ListBox1.Items.Clear()
Dim n As Integer
Dim i As Integer
n = InputBox("Enter Number to create table")
For i = 1 To 10
ListBox1.Items.Add(i * n)
Next
End Sub
End Class
This comment has been removed by a blog administrator.
ReplyDeletethanks your article is best
ReplyDelete👌
ReplyDeletethanks again
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDelete