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