Write a program called hw10.cpp that defines the struct, pointType, with two members, of type double, called X and Y.
Write a function called calcDistance, which takes as its parameters two pointType variables and returns the result of the distance formula.
Note that points may be in any of the 4 quadrants and distance MUST be a non-negative value.
You should demonstrate that your program works by reading a file of numbers, each line containing a pair of points.
For each line, you will output the coordinates, and then the distance between them.
To receive full credit your program must:
Contain NO global variables.