来个笨一点的
#include <stdio.h>
main()
{
int a,b,c;
int max=0;
printf("qingshuru1");
scanf("%d",&a);
printf("qingshuru2");
scanf("%d",&b);
printf("qingshuru3");
scanf("%d",&c);
if(a>max)
max==a;
if(b>max)
max==b;
if(c>max)
max==c;
printf("max=%d",max);
}
#include <stdio.h>
main()
{
int a,b,c;
int max=0;
printf("qingshuru1");
scanf("%d",&a);
printf("qingshuru2");
scanf("%d",&b);
printf("qingshuru3");
scanf("%d",&c);
if(a>max)
max==a;
if(b>max)
max==b;
if(c>max)
max==c;
printf("max=%d",max);
}