题解 | #小乐乐找最大数#
小乐乐找最大数
http://www.nowcoder.com/practice/ae6a21920cac4f9184c8ecfcc87f89b9
#include <stdio.h>
int main()
{
int a,b,c,d,t;
scanf("%d %d %d %d",&a,&b,&c,&d);
if(a<=b){t=a;a=b;b=t;}
if(a<=c){t=a;a=c;c=t;}
if(a<=d){t=a;a=d;d=t;}
printf("%d",a);
return 0;
}