Computer Science, asked by annu700, 7 months ago

write
program to input I and b.
rectangle and print area and perimeter​

Answers

Answered by imtiyazallam
1

Answer:

length = int(input("Enter length of the rectangle: "))

breadth = int(input("Enter breadth of the rectangle: "))

area = length * breadth

perimeter = 2 * (length + breadth)

print(area)

print(perimeter)

Attachments:
Similar questions