In mathematics, the triangle inequality states that for any triangle, the sum of the lengths of any two sides must be greater than or equal to the length of the remaining side.
If a b c is the three sides of triangle, the triangle inequality can states as a+b>c, b+c>a, c+a>b, |a-b|< c < a + b.
For example, side1 = 3 side2= 5, then Side3 <8.