菜鸟入门碰到的问题
# include <stdio.h>int 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 largest number is %d\n",max);
return 0;
}
求最大值,结果显示a值,哪里有错?百思不得姐