float a,b,c; // 三角形三邊長. float s1, s2, temp; //暫時變數. printf("輸入三邊長:\n");. scanf("%f%f%f",&a,&b,&c);. if (b > a){. temp = a;.
確定! 回上一頁