zzuli OJ 1014: 求三角形的面積

Description  給出三角形的三條邊,求三角形的面積。函數 Input  輸入三角形的三條邊長(實數),數據之間用空格隔開。spa Output 輸出三角形的面積,結果保留2位小數。code Sample Input 2.5 4 5 Sample Output 4.95 HINT 用海倫公式或其餘方法都可。xml #include<stdio.h> #include<math.h> //m
相關文章
相關標籤/搜索