#include <stdio.h>
#include <math.h> //加载math头文件
int main()
{
int a, b, c;
printf("Enter three integers: ");
scanf_s("%d %d %d", &a, &b, &c);
double s = (a + b + c) / 2.0;
double finnal = sqrt(s * (s - a) * (s - b) * (s - c));
printf("The area of the triangle is: %.2lf\n", finnal);
return 0;
}