|Question||Hello Guys ,
I am asked to do the followings ;
Define a struct named by city; which contains name (char), xcoordinate (int) and y coordinate (int).
Define an array which is type of city. That array contains 5city information. The name of the cities are given below and thecoordinates must be filled randomly between 0 – 10. ?zmir,?stanbul, Ankara, Bursa, Trabzon.
Write a function that takes cities array as an input and itcalculates all of the possible combination of the paths. As aresult it prints the shortest path and its length. Also writenecessary functions for example prepareDistanceMatrix. *Don’tforget that your algorithm needs to add a distance from last cityto first city for a full cycle.*