### Formula

c

side of the triangle

P

perimeter of triangle

a

side of the triangle

b

side of the triangle

c

side of the triangle

P

perimeter of triangle

a

side of the triangle

b

side of the triangle

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.

P

a

b

c

Precision

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