#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
int get_max(int x, int y)
{
int z = 0;
if(x > y)
z = x;
else
z = y;
return z; //返回较大值
}
int main()
{
int a =10;
int b = 20;
int max = get_max(a,b);
printf("max = %d\n",max);
return 0;
}
标签:返回,return,get,int,max,较大,include,比较 From: https://blog.51cto.com/u_13668714/5912068