Tuesday, March 4, 2008

Teh Area of ne Triangle

public double TheArea()
{
Semipermeter = ((SideA+SideB+SideC)/2);

return TriangleArea = Math.sqrt(Semipermeter*((Semipermeter - SideA)*
(Semipermeter - SideB)*(Semipermeter - SideC)));

}


No comments: