Shape with three variants: circle, rectangle, and triangle.shape with a specific shape object.pi with the value 3.14.switch statement on shape.kind to calculate the area for each shape.default case that throws an error if an unknown shape is encountered.