Push down on the rear, the car should go up once then settle down to its original position. If it bounces more than once, the struts are going out.
The fronts sometimes go out by becoming hard as a rock. If you push down on those and they don't move at all, then they are out.
Struts are relatively cheap, usually costing about $100 per wheel to have fixed (including labor).