Page 1 of 1

What would be printed from the following VB.NET program?

Posted: Mon Nov 29, 2021 8:09 am
by answerhappygod
Module Module1
Sub Main()
Dim arr() As Integer= New Integer(){1,3,5,7,9} 'initialize arr array
Dim i As Integer
For i=4 to 0 Step -1 'output arr array
Console.Write("{0}",arr(i) & vbTab)
Next
Console.ReadLine()
End Sub
End Module