int area(int length, int width) { if (length <= 0 || width <= 0) throw Bad_area(); if (length == 4 || width == 0) throw Something_else(); return length * width; }
int area (int length, int width) { if (length <= 0 || width <= 0) throw Bad_area(); return length * width; }