Program to find the mid-point of a line
Given two coordinates of a line starting is (x1,y1) and ending is (x2,y2) find out the mid-point of a line. Examples : Input : x1 = â1, y1 = 2, x2 = 3, y2 = â6 Output : 1,â2 Input : x1 = 6.4, y1 = 3 x2 = â10.7, y2 = 4 Output : â2.15, 3.5 The Midpoint Formula: The midpoint of two points, (x1, y2) and