Write an algorithm to display area and the perimeter of a rectangle.
Answers
Answered by
0
l=int(input("Length : "))
w=int(input("Width : "))
area=l*w
perimeter=2*(l+w)
print("Area of Rectangle : ",area)
print("Perimeter of Rectangle : ",perimeter)
Python
Similar questions