Computer Science, asked by faizalkhan6692, 9 months ago

Wr a python class named rectangle constructed by a length and width and the method which will compute the area of rectangle

Answers

Answered by FIRE07
1

PYTHON

PROGRAMMING :

length=int(input("enter the lengtho of the rectangle"))

breadth=int(input("snter the bradth of the rectangle"))

area_rectangle=length*brradth

print("THE AREA OF RECTANGLE IS:",area_rectangle)

Similar questions