Write a program to input the sides of the rectangle and print its perimeter and area.
Answers
Answered by
0
Step-by-step explanation:
l= eval( input(' length of rectangle'))
b= eval( input(' breadth of rectangle'))
c= 2(l+b)
d= l*b
print (c,' is the perimeter of rectangle')
print (d,' is the area of rectangle')
I hope it will help u..
Similar questions