a circle has a circumference of 30 cm its diameter is code example Example: how to find circumference of a circle curcomfrance = pi * radius * 2