Share your repls and programming experiences

← Back to all posts
Coordinates of ABC are known. Find D vertice of rectangle
pole55 (241)

Three of the four vertices of a rectangle in the xy-coordinate plane are given. What is the fourth vertex?

The code finds the coordinates of the fourth vertex only (!) of the rectangle, whose sides are parallel to the coordinate axes.

PYer (3466)

Interesting problem that you solved. It does save people some time. Good job!