Write a visual basic program to compute multiplication table of any integer
Module Module1
Sub Main()
Console.Write("Enter number: ")
Dim number As Integer = Double.Parse(Console.ReadLine())
For i As Integer = 1 To number
Console.WriteLine("{0} * {1} = {2}", i, number, (i * number))
Next
Console.ReadLine()
End Sub
End Module
Comments
Leave a comment