从键盘上任意输入三个整数,输出其中的最大叔数
问题描述:
从键盘上任意输入三个整数,输出其中的最大叔数
答
#include <stdio.h>
int main()
{
int a,b,c;
scanf("%d%d%d",&a,&b,&c);
int max = a > b? a : b;
max = max > c? max : c;
printf("%d",max);
return 0;
}