小白求助,这段比较大小代码有什么错误
#include<stdio.h>main()
{
int a,b,c;
printf("please input two nums\n");
scanf("%d%d\n",a,b);
if(a>b) c=a;
else c=b;
printf("%d\n",c);
}
请问这段代码有什么问题,谢谢
2015-11-24 09:46
2015-11-24 09:49
2015-11-24 09:52
2015-11-24 09:55
2015-11-24 09:59
2015-11-24 10:05