area from diameter circle code example Example: calculate area of circle 3.14 * radius * radius = area