sum = 0 for i = 1,3,1 do r = io.read("*n") sum = sum + (22/7*r*r) end print(sum)
To embed this project on your website, copy the following code and paste it into your website's HTML: