Declare and define the function distance() to find the Euclidean distance : √((x1 - x2)² + (y1 - y2)²) between the two points (x[0], y[0]) and (x[1], y[1]) This function should just calculate and return the answer.
C PROGRAM -----
double distance(double x[], double y[]) ;
What else am I supposed to put. Do I include the eculidean distance in this function or create a new one?