求三角形的面积

/* Note:Your choice is C IDE / #include “stdio.h” #include “math.h” int main() {float a,b,c,p,s; printf(“从键盘输入三角形的三边长”); scanf("%f %f %f",&a,&b,&c); if((a+b>c)&&(b+c>a)&&(a+c>b)){ p=(a+b+c)/2; s=sqrt(
相关文章
相关标签/搜索