Computer Science, asked by khutaijak10, 2 months ago

write the programs for following
(1) calculate the area and perimeter of a rectangle.​

Answers

Answered by shorooqayesha
3

Answer:

Area:- Length x breadth

Perimeter:- 2(Length+breadth)

Answered by Anonymous
1

Answer:

hello,

its a python program..

Explanation:

#program to calculate the area and perimeter of a rectangle

l=int(input("enter the length"))

b=int(input("enter the breadth"))

area=l*b

perimeter=2*(l+b)

print("area of the rectangle :",area)

print("perimeter of the rectangle :",perimeter)    

hope it helps you

please mark brainliest

@ItzSnowySecret07

Similar questions