Answer to Question #142186 in Visual Basic for Arnav thakur

Question #142186
write a program to print your school name 6 times with its numbering
1
Expert's answer
2020-11-04T15:42:38-0500
Module SchoolName
    ''' <summary>
    ''' The start point of the program
    ''' </summary>
    Sub Main()
        'for loop 
        For i As Integer = 0 To 5
            'Print message: n+".My School Name 678", where n =1..6
            Console.WriteLine((i + 1).ToString() + ". My School Name 678")
        Next
        'delay
        Console.WriteLine(vbNewLine + vbNewLine + "Press any key to exit ...")
        Console.ReadKey()
    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