algorithms.tutorialhorizon.com

Find the Area and Perimeter of Rectangle – Java Program | Algorithms

A rectangle is a quadrilateral with four right angles. Say rectangle is given with side's length A and B Area of Rectangle = A * B Perimeter of rectangle = 2(A+B)