Add the missing lines of code so that the output of the following code snippet is:
“Final array values: -978 –10 –9 18 49 99 287 463 5623 100123?”
Code:Dim NumbersList() as Integer = {99, -10, 100123, 18, -978, 5623, 463, -9, 287, 49} Dim a as Integer Dim b as Integer Dim i as Integer For a = 1 to NumbersList.Length For b = NumbersList.Length -1 to a Step -1 ‘ADD CODE HERE Next Next Debug.WriteLine(“Final array is:”) For i = 0 to NumbersList.Length Debug.WriteLine(“ “ + NumbersList(i)) Next




Reply With Quote