Computer Science, asked by scholar64, 5 months ago

algorithm to check whether a given dimension is square or rectangle​

Answers

Answered by Anonymous
1

(ii) Find the length of all sides. (iii) In a rectangle, the length of opposite sides will be equal. (iv) The rectangle can be divided into two right triangles. (v) If the given four vertices satisfies the conditions (iii) and (iv), we may decide that the given points form a rectangle.

.

#Hope it helps...

Similar questions