Check whether two straight lines are orthogonal or not
Given two line segments AB and CD having A(x1, y1), B(x2, y2), C(x3, y3) and D(x4, y4). The task is to check whether these two lines are orthogonal or not. Two lines are called orthogonal if they are perpendicular at the point of intersection. Examples: Input: x1 = 0, y1 = 3, x2 = 0, y2 = -5 x3 = 2,