Calculate the number of miles

Created a new array for numMiles to calculate the number of miles each
car can go on the amount of gas that can be purchased. Wrote it to the
console.