输出3个书中最大的数,为什么调试不出来,求帮忙检查下~~
#include <stdio.h>void main()
{
int a,b,c,temp;
scanf("%d %d %d ",&a,&b,&c);
temp=a;
if(b>temp)
temp=b;
if(c>temp)
temp=c;
printf("%d",temp);
}
2013-03-09 22:36

2013-03-09 22:47

2013-03-09 22:50

2013-03-09 22:51
2013-03-09 23:40
2013-03-10 13:17
2013-03-10 13:51
a=a>b?a:b>c?b:c;
2013-03-10 14:07
2013-03-11 09:51

2013-03-11 10:08