Compute the midpoint of a line segment from endpoints (x₁,y₁) and (x₂,y₂) using M = ((x₁+x₂)/2, (y₁+y₂)/2).
输入两点坐标,求中点坐标。
工作与生活中的相关计算与查询。