Ask the user to enter
their name and then
display their name
three times.
Imports System.IO
Module Module1
Sub Main()
Console.Write("Enter your name: ")
Dim name As String = Console.ReadLine()
For i As Integer = 0 To 2
Console.WriteLine(name)
Next
Console.ReadLine()
End Sub
End Module
Comments
Leave a comment