[求助]编程求助
不知道是哪个地方出错了,我输入2,5,3,显示最大数字是3,各位帮我看看,谢谢#include <stdio.h>
void main()
{ int a,b,c,max;
printf ("please input a,b,c:\n");
scanf ("%d,%d,%d",&a,&b,&c);
max=a;
if (max<b);
max=b;
if (max<c);
max=c;
printf ("The lagest number is %d",max);
}
[此贴子已经被作者于2006-8-2 10:53:09编辑过]