#include <stdio.h>
int main(){
int a, b, c,d,max;
puts("输入四个整数");
scanf("%d", &a);
scanf("%d", &b);
scanf("%d", &c);
scanf("%d", &d);
max = a;
if (b>max)
{
max = b;
}
if (c>max)
{
max = c;
}
if (d>max)
{
max = d;
}
printf("他们中的最大值是:%d\n", max);
return 0;
}
求点拨,求指正,求关注,求鼓励,求支持
标签:return,入门,puts,int,max,scanf,练习,main From: https://blog.51cto.com/u_15866017/5933888