![]() |
#2
不会游泳的虾2022-09-15 21:49
|
#include<stdio.h>
#include<math.h>
/*********begin**********/
int main()
{
float a,b,c,p,s;
scanf("%f %f %f",&a,&b,&c);
p=(a+b+c)/2.0;
s=p*(p-a)*(p-b)*(p-c);
printf("area=%.2f",sqrt(s));
return 0;
}
/*********end*********/