--[[Write a program to find the area and circumference of the circle--]]
r = io.read('*n')
area = 3.14*(r^2)
cir = 2*3.14*r
print('The radius is', r)
print('The area of the circle is', area)
print('The circumference of the circle is', cir)

Embed on website

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