--[[Write a program to take one number display the square of given number--]]
num1 = io.read('*n')
print('the square of',num1,'=',num1*num1)

Embed on website

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