Answer to Question #308318 in Visual Basic for rny78u

Question #308318

Ask the user to enter

their name and then

display their name

three times.


1
Expert's answer
2022-03-09T01:36:21-0500


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

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS