Write a code to accept the length of 4 sides of a rhombus. If all the sides are equal, then print ―It is a RHOMBUS‖ else Print ―It is not a RHOMBUS‖.
Answers
Answered by
4
Explanation:
If the diagonals are perpendicular bisectors then the code - It is ARHOMBUS.
If the diagonals are equal in length then it is coded as-it is not ARHOMBUS THEN IT IS A SQUARE.
Similar questions