困惑为什么错误说else无if匹配!还有for循环这样用行不行额?谢!
#includeusing namespace std;
void main()
{
float x,y,t;
cin>>x>>y;
if(x>y)
t=x;x=y;y=t;
cout<<X<<ENDL;
cout<<Y<<ENDL;
else
for(x<=y;Y++)
cout<<Y<<ENDL;
cout<<X<<ENDL;
}
2013-03-16 11:59

2013-03-16 13:27
2013-03-16 13:35

2013-03-16 13:40
2013-03-16 14:57
2013-03-16 16:20

2013-03-16 20:19
好吧,谢谢各位前辈了,我要我行我乐,还要有兴趣+信心+耐心,谢谢了!我会努力的!
2013-03-16 20:29
2013-03-18 22:18