area of a triangle calculater code example Example: what is the formula to find the area of a triangle A=hbb 2=5·5 2=12.5