Computer Science, asked by Prajapatigopal2099, 6 months ago

Write a function to calculate area and perimeter of a rectangle.

Answers

Answered by syediemaankamil8
0

Answer:

Explanation:

To find the area of rectangle we multiply it's Length and Width. To find the perimeter of a rectangle, we should add the length of all four sides of rectangle. As opposite sides of a rectangle are equal we can calculate perimeter of rectangle as follows: Perimeter of Rectangle = 2 X (L + W)

Similar questions