Routes and distances between cities using multidimensional arrays

This program stores the distances between cities in an array. After the user inputs the city a  function converts it into a number that can be used to find that destination miles in the array.