l = io.read("*n")
b = io.read("*n")
area = l*b
print('Length =',l,'\nBreadth =',b,'\nArea of the rectangle =',area)

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: