求三角形的面積

/* 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(
相關文章
相關標籤/搜索