Calculate the perimeter of any triangle from its three sides
The perimeter of a triangle is the sum of all three side lengths: P = a + b + c.