For this example, a = 7, b = 10, and c = 5.
a + b > c = 17 > 5 a + c > b = 12 > 10 b + c > a = 15 > 7
5 + 8 > 3 = 13 > 3, so one side passes. 5 + 3 > 8 = 8 > 8. Since this is invalid, you can stop right here. This triangle is not valid.
For this example, a = 7, b = 10, and c = 5.
a + b > c = 17 > 5 a + c > b = 12 > 10 b + c > a = 15 > 7
5 + 8 > 3 = 13 > 3, so one side passes. 5 + 3 > 8 = 8 > 8. Since this is invalid, you can stop right here. This triangle is not valid.