Create a matrix A , whose elements Aij are the distance between point i and j. A number of points defined in a plane by means of their coordinates Xi and Yi, the number of points and their coordinates are input from a text file with the following structure
N
X1 , Y1
.....
Xn , Yn
Unfortunately no, that's your job to write the program. If I did that I would get an angry letter from your examiner/teacher and they might come and treat my dog badly.
What I can do is help u if you like to show me your code so far. :)