Be the first user to complete this post

  • 0
Add to List
Beginner

326. Find the Area and Perimeter of Rectangle

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)

Area and perimeter Of Rectangle

Output:

Area of Rectangle: 12.0
Perimeter of Rectangle: 14.0