展开全部#include include int main() { double a,b,c,s,p;scanf("%lf%lf%lf",&a,&b,&c);p=(a+b+c)/2;s=sqrt(p*(p-a)*(p-b)*(p-c));printf("三角形面积为%.2lf\n",s);return 0;}
//// wordsplit.cpp// // target: find all possible splitting of a sentence given a dictionary dict// howto: refer to main//// created by rachel on 14-8-16.// copyright (c) 2014年 zju. all rights ...