收起
#include <stdio.h> #include <math.h> int main () { float a=3, b=5, c=7, s; s=(a + b + c)/2.0; printf("%f\n", sqrt(s*(s-a)*(s-b)*(s-c))); return 0; }
报告相同问题?