已知三角形的三边,求三角形的面积

小程序示例:web float area(float a, float b, float c) { float t, s; t = (a + b + c) / 2; s = (float)sqrt(t*(t - a)*(t - b)*(t - c)); //求得面积 return s; //
相关文章
相关标签/搜索