2
` #include<stdio.h>
include<stdlib.h>
include<math.h>
int main()
{
double s,S;
int a,b,c;
while(scanf("%d%d%d",&a,&b,&c)!=EOF)
{
s=(a+b+c)/2.0;
S=sqrt(s(s-a)(s-b)*(s-c));
printf("a=%d,b=%d,c=%d,area=%.3f\n",a,b,c,S);
}
system("pause:");
return 0;
}
`

浙公网安备 33010602011771号