### Formula

b

side length

P

perimeter of triangle

a

side length

c

side length

b

side length

P

perimeter of triangle

a

side length

c

side length

A triangle is one of the basic shapes of geometry: a polygon with three corners or vertices and three sides or edges which are line segments. Assume a, b and c are the lengths of the sides of the triangle.

P

a

c

b

Precision

- C
- C#
- C++
- Java
- JavaScript
- LaTeX
- PHP