For any convex polygon the exterior angles sum to 360°, and in a regular polygon each one equals 360°/n. Setting 360/n = 24 gives n = 15, so the polygon has fifteen sides and each interior angle is 156°. Starting instead from the interior-angle formula would require solving a quadratic and invites the answer 12.