新手 哪位大神给看看 问题出在哪
#include <stdio.h>int main()
{
int a,b,c,temp,max;
printf ("请输入三个整数:");
scanf ("%d,%d,%d",&a,&b,&c);
temp =(a>b)?a:b;
max =(temp>c)?temp:c;
printf ("输入三个数最大数max=%d\n",max);
return 0;
}
2017-08-14 20:34
2017-08-14 20:47
2017-08-14 21:03