--[[Write a program to find the area and perimeter of a square--]]
s = io.read('*n')
area = s*s
per = s*4
print('Side of the square is', s)
print('Area of the square is', area)
print('Perimeterof the square is', per)
To embed this project on your website, copy the following code and paste it into your website's HTML: