#include<stdio.h>
int max(int a,int b,int c) /*定义 max 函数*/
{
int big;
big=a;
if(b>big) big=b;
if(c>big) big=c;
return big;
}
void main() /*定义 main 函数*/
{
int x,y,z,s;
printf("输入三个整数:");
scanf("%d,%d,%d",&x,&y,&z);
s=max(x,y,z); /*调用 max 函数,返回值为三个数中的最大值*/
printf("最大的数为:%d",s);
}