The following data points refer to three dimensional co-ordinates (x, y, and z axes,
respectively) in each line. The numbers are separated by a tab space. Save this data in an
input file named data.dat.
10 23 -17
11 -15 19
3 0 17
-7 8 12
Write a program that does the following:
* Define a structure called Point with three integer data members - one each for the
x, y, and z axes, and one member of double data type - named distance.
* Using a function, read the data in into an array of structures. Your program must be
generic, and you cannot assume there are only 4 lines of data. You CANNOT open the
file in this function, it MUST be done in the m