input1.txt: ---------- 3 0.0 0.0 0.0 1.0 1.0 0.0 -2.5 2.0 1.5 5.0 -0.5 1.0 5.0 109.0 -0.5 100.0 7.5 105.0 correct output: -------------- Area of rectangle with vertices (0.0,0.0),(0.0,1.0),(1.0,0.0) is 1.0 Area of rectangle with vertices (-2.5,2.0),(1.5,5.0),(-0.5,1.0) is 10.0 Area of rectangle with vertices (5.0,109.0),(-0.5,100.0),(7.5,105.0) is 44.5