Share your repls and programming experiences

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

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.

Commentshotnewtop
PYer (3266)

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