Given a set of cities, the central city is the city that has the shortest total distance

Question:

Given a set of cities, the central city is the city that has the shortest total distance to all other cities. Write a program that prompts the user to enter the number of the cities and the locations of the cities (coordinates), and finds the central city and its total distance to all other cities.image

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: