[bo][un]vostro1400[/un] 在 2008-11-14 10:49 的发言:[/bo]
/*right source file.*/
#include
main()
{
int m;
float sum=0;
for(m=1;m
/*right source file.*/
#include
main()
{
int m;
float sum=0;
for(m=1;m
正解!
如果是数据转化,也不能这么转,应该 int x x=sum printf("%d",x) 这样才能将sum转为整型,输出21

我是J!~~