Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

I need two arrays one for states and the other capital Then I need to have the arrays sorted into Abc Order then have the capital to be sorted by...

I need two arrays one for states and the other capital Then I need to have the arrays sorted into Abc Order then have the capital to be sorted by state array,

This is what I have so far.

Please help Robert

Sub Main()

       Dim States() As String = {"Washington", "Oregon", "Montana", "Wyoming", "Idaho", "North Dakota"}

       Dim Capital () String = {" Olympia" , "Salem", "Helena", "Cheyenne",  "Boise", "Bismark"}

       Array.Sort(States)

       Console.WriteLine()

       Console.WriteLine("sorting States: ")

       Console.readline

        console.write("press enter to sort states with capital.")

       Array,sort(states, Capital)

       Console.WriteLine()

       Console.WriteLine("sorting States with matching capital: ")

       Console.readline

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question