为什么把第一个float改为int就输出整数呢?为什么用float 就行?
#include<iostream.h>void main(){
float x,a,b,c,d;
float m;
cin>>x>>a>>b>>c>>d;
m=x+(a+b)/(c-d);
cout<<m<<endl;
}
2011-06-05 15:53
2011-06-05 19:50
2011-06-05 20:47
2011-06-06 15:20
2011-06-08 21:04
2011-06-09 09:05








2011-06-10 11:29