--[[Write a program to find the area and perimeter of a rectangle--]]
l = io.read('*n')
b = io.read('*n')
area = l*b
per = 2*(l+b)
print('Length of the rectangle is', l)
print('Breadth of the rectangle is', b)
print('Area of the rectangle is', area)
print('Perimeter of the rectangle is', per)
To embed this project on your website, copy the following code and paste it into your website's HTML: