You are on page 1of 1

Input: A(1,1)

B(3,3)
C(1,3)
D(3,1)
Output: E(2,2)
Input: A(1,1)
B(3,3)
C(2,5)
D(3,1)
Output: E(2.60,2.60)
Input: A(-3,2)
B(3,3)
C(1,5)
D(3,1)
Output: E(2.08,2.85)
Input: A(3,2)
B(5,2)
C(2,5)
D(5,1)
Output: E(4.25,2)
Input: A(5,5)
B(2,2)
C(5,5)
D(2,2)
Output: The segments AB and CD are equal!

You might also like