回复 4楼 yuma
可以不用s变量,想想怎么改?

我们都在路上。。。。。
2012-07-10 11:09
自学到这种程度已经很不错了,我刚学c语言一学期
2012-07-10 11:40
程序代码:#include <stdio.h>
void main ()
{
double a, b, h;
scanf ("%lf,%lf,%lf", &a, &b, &h);
printf ("%f", (a+b)*h/2);
}

2012-07-10 11:43
2012-07-10 11:48