求问一下为什么这个不行
#include<stdio.h> #include<math.h> int main() { int a, b, c; float p, n; scanf("%d %d %d", &a, &b, &c); p = (a + b + c) / 2; int e = p*(p - a)*(p - b)*(p - c); n = sqrt(e); printf("%.1f", n); return 0; }