编程题
【正确答案】
#include
#include
void main() { double a, b, c, p, s; scanf("%lf%lf%lf",&a,&b,&c); p = (a + b + c) / 2; s = sqrt(p * (p - a) * (p - b) * (p - c)); printf("%6.2lf", s); }
【答案解析】
提交答案
关闭