Computer Science, asked by snehalatapandey70, 4 months ago

develop algorithm to calculate perimeter of rectangle​

Answers

Answered by malooji1234567
0

Answer:

Python

Explanation:

1) a=c=2 # in rectangle sides opposite to each other are equal in length.

2) b=d=4 # length of opposite sides.

3) Perimeter = 2*(a+ b)

4) print("Perimeter of rectangle is: ");

5) print(Perimeter);

Similar questions