I am making a computer program that calculates areas and circumferences/perimeters of shapes like circles, squares, rectangles, and triangles. Because of the triangle's varing types (Right, Equilateral, Isosceles, etc...) it is becoming quite difficult. I need formulas for finding the perimeter of a scalene triangle (Assuming the only dimensions you know is the base length and the height. I also need the formula for an obtuse triangle (also assuming that all you know is the base length and height).
Thanks a lot!