Find the area of a three-sided triangle
Example input
triangle
a = 3, b = 4, c = 5Expected result
area: 6 units²
perimeter: 12 unitsThe three sides form a valid triangle. Heron's area relationship gives 6 square units and their sum gives a perimeter of 12 units.