Week 2: November 16 – 22. Conditional statement. Part 1
Create a triangle
Given the lengths of three segments. Is it possible to construct from them the non-degenerate triangle? The triangle is non-degenerate if it has positive area.
Three positive integers a, b, c (1 ≤ a, b, c ≤ 1000) - the lengths of three segments.
Print YES if its possible to create the non-degenerate triangle from the given segments and NO otherwise.
5 6 7
3 7 4