You need to find the overlapping area of the two given rectangles. The section you need to output the area of would be the blue lined section shown in the image.
The sides are parallel to the coordinate axes.
If the two rectangles do not overlap, the resultant area should be 0.
There will be two lines of input. On each line are the x and y positions (separated by a comma) of each opposing corner (each corner co-ordinate separated by a space).
The co-ordinates can have decimals, and can be negative.
The area of the overlapping section of the two rectangles, including any decimal part.
Find the Overlapping Area of two rectangles with the given co ordinates
-3.5, 4  1, 1
1, 3.5  -2.5, -1
Krish Shah : 9323115454
Kaustubh Khavnekar : 9769408039