Menu

[solved] – Question 74774

A point represents a coordinate in an x-y plane. It is supported by the following functions:

Point * make_point(double x, double y)
double x_of(Point *p)
double y_of(Point *p)
void print_point(Point *p)

Write a function Point * mid_point that accepts two points as arguments and returns a point that is the mid-point of these two input coordinates.

Expert Answer


OR


Leave a Reply

Your email address will not be published. Required fields are marked *