#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
int get_max(int x, int y)
{
if (x > y)
return x;
else
return y;
}
int main()
{
int num1 = 20;
int num2 = 10;
scanf("%d%d", &num1, &num2);
int 得数 = get_max(num1, num2);
printf("得数 = %d", 得数);
return 0;
}
比较两个数取最大值
标签:return,num1,num2,get,int,得数,Day From: https://blog.51cto.com/u_16446666/8861493