//求两个整数中的较大者
#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
int main() {
int max(int x,int y);
int a, b, c;
scanf("%d,%d",&a,&b);
c = max(a, b);
printf(“max=%d\n”, c);
system(“pause”);
return 0;
}
//求两个整数中较大者的max函数
int max(int x, int y)
{
int z;
if (x > y) z = x;
else z = y;
return(z);
}