COLLECTING USER INPUT
THE JOY OF READLINE()
Using ReadLine()Module Module1
Sub Main()
Dim name As String name = "Dave"
Console.WriteLine("What is your name?") name = Console.ReadLine() Console.WriteLine("hello " & name & " !")
Console.ReadLine()
End Sub
End Module
What name is presented will
depend on what name is
entered
ReadLine() collects the users
response from the console
Top Related