Collecting user input
2
Click here to load reader
-
Upload
peter-andrews -
Category
Education
-
view
115 -
download
1
Transcript of Collecting user input
![Page 1: Collecting user input](https://reader038.fdocuments.us/reader038/viewer/2022100606/55a0fb391a28aba0398b4854/html5/thumbnails/1.jpg)
COLLECTING USER INPUT
THE JOY OF READLINE()
![Page 2: Collecting user input](https://reader038.fdocuments.us/reader038/viewer/2022100606/55a0fb391a28aba0398b4854/html5/thumbnails/2.jpg)
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