Inheritance lets a child class reuse and specialise behaviour from a parent class. Use it when there's a genuine "is-a" relationship.
Implement a base class Shape with:
area() that returns 0 (default)describe() that prints Shape with area: <area>Then implement two subclasses:
Circle(radius) — overrides area() with π × r² (use 3.14159, round to 2 decimal places)Rectangle(width, height) — overrides area() with width × heightYour program receives comma-separated shape definitions:
circle:<r>rect:<w>:<h>For each, call describe() and print the result.
Input: circle:5,rect:4:6
Output: Shape with area: 78.54
Shape with area: 24
describe method into each subclass.