num1=io.read("*n")
num2=io.read("*n")
percentage=(num1*100/num2)
io.write("The percentage of ",num1," and ",num2," is ",percentage)

Embed on website

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