Which is a compound statement A: A triangle has 3 sides and a quadrilateral has 5 sides B: A triangle has 3 sides and only if a quadtilateral has 5 sides C: If a triangle has 3 sides, then a quadrilateral has 5 sides D: A triangle has 3 sides or a quadrilateral has 5 sides