/* Note:Your choice is C IDE */
#include <stdio.h>
main()
{
long a,b,c;
printf("Please input three numbers:\n");
scanf("%ld%ld%ld",&a,&b,&c);
if(a>b && a>c)printf("%ld",a);
else if(a>b && a<c)printf("%ld",c);
else if(a<b && a>c) printf("%ld",b);
else if (b < c) printf("%ld", c);
else printf ("%ld",b);
}
这是按你风格编的正确的代码