public bool isEqual(_2DShape a, _2DShape b) { if (a.area == b.area) { return(true); } else { return(false); } }
public void shrink(_2DShape shape, int shrinkBy) { shape.area /= shrinkBy; }
public double findDifference(_2DShape a, _2DShape b) { return(a.area - b.area); }
public void grow(_2DShape shape, int growBy) { shape.area *= growBy; }