How to Accept Number Or String in Vb.Net (Visual Basic)




Module m1
Sub Main()
Dim a as integer
Dim s as String
Console.Write("Enter A Number : ")
a=console.readline()
Console.Write("Enter a String : ")
s=console.readLine()
Console.WriteLine("You Enter the Number is : " & a)
Console.WriteLine("You Enter the String is : " & s)
End Sub
End Module




Comments

Popular posts from this blog

How to make an Automated Refreshing Web Browser Using VB.NET

How to make a text to speech program in vb.net