easy

Design a Shape Calculator

Design a shape hierarchy with area and perimeter calculations. Support circles, rectangles, and triangles with an extensible design that allows adding new shapes without modifying existing code.

Loading the workspace...