#include "stdio.h" int max(int x,int y); int main() { int a,b,c; scanf("%d,%d",&a,&b); c=max(a,b); printf("max=%d\n",c); return 0; //需要返回函数值 } int max(int x,int y) { if(x>y) z=x; else z=y; return z; }