Hi lengths of two sides of a triangle are 4 and 7 Sum of the lengths of two sides must be greater than the third side: the third side cannot be 11, for example.