那位高手解决一下 错在哪了 谢了
#include "stdio.h"void main()
{
void w(int a,int b);
int x,y;
printf("请输入2个数:");
scanf("%d,%d",&x,&y);
if(x>y)
w( x, y);
printf("%d %d",x,y);
}
void w(int a,int b)
{
int c;
c=a;
a=b;
b=c;
}
2012-01-09 17:28

2012-01-09 17:51
2012-01-09 17:54
2012-01-09 17:59

2012-01-09 18:02
2012-01-09 18:04
2012-01-10 00:00
2012-01-10 00:46
2012-01-10 02:12
2012-01-10 10:43