题解 | #小乐乐找最大数#
小乐乐找最大数
http://www.nowcoder.com/practice/ae6a21920cac4f9184c8ecfcc87f89b9
#include<stdio.h>
int main(){
int n = 0;
int i = 3;
scanf("%d ",&n);
int max = n;
while(i){
scanf("%d ",&n);
max = n > max ? n : max;
i--;
};
printf("%d\n",max);
}