Collecting user input
2
Click here to load reader
-
Upload
peter-andrews -
Category
Education
-
view
116 -
download
1
Transcript of Collecting user input
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