Triangle

Report a typo

Read three natural numbers a, b, c. Define if a triangle with such side lengths exists.

If the triangle exists, output the YES string, otherwise output NO.

triangle with sides a b c

Note that a triangle is formed by three connected points that are not located on a single straight line.

Sample Input 1:

3
4
5

Sample Output 1:

YES
Write a program in Kotlin
fun main() {
// write your code here
}
___

Create a free account to access the full topic