int a,b,c; float l,s_origin; double sqrt; l = a +int a,b,c;float l,s_origin;double sqrt;l = a + b + c;s_origin = l/2 * (l/2 - a ) * (l/2 - b) * (l/2 -c);sqrt = s_origin;scanf = ("%f,%f",&l,&sqrt)printf = ("l= %f, S=%f"l,sqrt);三角形的周长和面

来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/26 05:19:58
inta,b,c;floatl,s_origin;doublesqrt;l=a+inta,b,c;floatl,s_origin;doublesqrt;l=a+b+c;s_origin=l/2*(l/

int a,b,c; float l,s_origin; double sqrt; l = a +int a,b,c;float l,s_origin;double sqrt;l = a + b + c;s_origin = l/2 * (l/2 - a ) * (l/2 - b) * (l/2 -c);sqrt = s_origin;scanf = ("%f,%f",&l,&sqrt)printf = ("l= %f, S=%f"l,sqrt);三角形的周长和面
int a,b,c; float l,s_origin; double sqrt; l = a +
int a,b,c;
float l,s_origin;
double sqrt;
l = a + b + c;
s_origin = l/2 * (l/2 - a ) * (l/2 - b) * (l/2 -c);
sqrt = s_origin;
scanf = ("%f,%f",&l,&sqrt)
printf = ("l= %f, S=%f"l,sqrt);
三角形的周长和面积
有啥问题求指正

int a,b,c; float l,s_origin; double sqrt; l = a +int a,b,c;float l,s_origin;double sqrt;l = a + b + c;s_origin = l/2 * (l/2 - a ) * (l/2 - b) * (l/2 -c);sqrt = s_origin;scanf = ("%f,%f",&l,&sqrt)printf = ("l= %f, S=%f"l,sqrt);三角形的周长和面
scanf = ("%f,%f",&l,&sqrt)有问题
scanf接收外接输入的值给l,sqrt,就是说你输入什么他就输出什么