Answer :
19 possible ways can choose three different numbers from the set (1,2,3,4,5,6) such that the three could be the sides of a triangle.
Using combination:
₆C₃ =[tex]\frac{6x5x4}{3!}[/tex]
Non-degenerate Triangle
It is a triangle that has a positive area. The condition for a non-degenerate triangle with sides a, b, c is − a + b > c a + c > b b + c > a. Let's take an example to understand the problem better - Input - a r r (2, 5 ,9, 4, 3) output yes.
For a given triangle to be a non-degenerate triangle, we only need to be confirmed with the condition that the sum of smaller two sides should be greater than the largest side.
A triangle is called the non-degenerate triangle if it has a non-negative or a positive area. If x, y and z are the sides of a Non-degenerate triangle
So if the sides are ( 1, 2 ,3 ), 1 + 2 >3 which is not true since 3 is not greater than (>) 3
Therefore
No. of ways = 20 - 1
= 19
19 possible ways can choose three different numbers from the set (1,2,3,4,5,6) such that the three could be the sides of a triangle.
To learn more about Non-degenerate Triangle visit:
brainly.com/question/29179795
#SPJ4