海伦公式编程(海伦公式编程代码) include quotstdiohquot#include quotmathhquotint maindouble a,b,cdouble s,pprintfquot输入三角形三边quot scanfquot%lf%lf%lfquot,a,b,c用海伦公式计算p=a+b+c2s=sqrtp*pa*...