118k views
1 vote
write a Visual Basic program that asks the user to enter their name and then uses a for loop to display their name 1000 times.​

User Gabuchan
by
3.6k points

1 Answer

5 votes

Answer:

Module Module1

Sub Main()

Dim name As String

Console.WriteLine("Enter your name: ")

name = Console.ReadLine()

For i = 1 To 1000

Console.WriteLine(name)

Next

Console.ReadLine()

End Sub

End Module

User Ronie Martinez
by
3.6k points