Skip to content

Commit df9f07c

Browse files
Update triangle validity condition in instructions
Clarified the condition for triangle validity by specifying that the sum of the lengths of any two sides must be strictly greater than the length of the third side.
1 parent 1f6aab8 commit df9f07c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎exercises/practice/triangle/.docs/instructions.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ A _scalene_ triangle has all sides of different lengths.
1111

1212
## Note
1313

14-
For a shape to be a triangle at all, all sides have to be of length > 0, and the sum of the lengths of any two sides must be greater than or equal to the length of the third side.
14+
For a shape to be a triangle at all, all sides have to be of length > 0, and the sum of the lengths of any two sides must be strictly greater than the length of the third side.
1515

1616
~~~~exercism/note
1717
_Degenerate triangles_ are triangles where the sum of the length of two sides is **equal** to the length of the third side, e.g. `1, 1, 2`.

0 commit comments

Comments
 (0)