Compute the midpoint of a line segment from endpoints (x₁,y₁) and (x₂,y₂) using M = ((x₁+x₂)/2, (y₁+y₂)/2).
輸入兩點座標,求中點座標。
工作與生活中的相關計算與查詢。