Question: c++ 2d array !Help on 7, 8,9! Given the following array of 5 rows and 5 columns, which contains the distances between cities: SI [0]

c++ 2d array !Help on 7, 8,9!
Given the following array of 5 rows and 5 columns, which contains the distances between cities: SI [0] [31 Albany Boston HartfordNY Phila [0]x Albanyx 0171x115* 141 240% [1]Bostonx171x0103194* [2] Hartford. 115% 103 194* [4] | Phila | 24Ox | 333x | 235x | 104x | 0A 235% 104x 120% [31 NYx 141* 120% Note that the city names are not in the array; the array contains the numeric entries only, which give the distance between the two cities represented by the row and column. S 7. Write the statements to initialize an array distance with thel mileage data given above .S 8. Write a function which will print the following menu, read in two city numbers, and return the two city numbers entered: To determine the mileage between cities, enter the numbers ofST two cities from the following list:T 1: Albany 2: Boston 3 Hartford 4: NYS 5: Phila Enter your city numbers:S 9. Write the statements to call your menu function and then printl the distance between the two cities requested.T
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
