Skip to content

Commit 8877489

Browse files
Correct definition for the Triangle inequality
"or equal to" was missing. In mathematics, the triangle inequality states that for any triangle, the sum of the lengths of any two sides must be greater than or equal to the length of the remaining side. Source: https://en.wikipedia.org/wiki/Triangle_inequality
1 parent bb219ac commit 8877489

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

triangle.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ The program should raise an error if the triangle cannot exist.
22

33
## Hint
44

5-
The sum of the lengths of any two sides of a triangle always exceeds the
6-
length of the third side, a principle known as the _triangle
5+
The sum of the lengths of any two sides of a triangle always exceeds or
6+
is equal to the length of the third side, a principle known as the _triangle
77
inequality_.

0 commit comments

Comments
 (0)