#include<stdio.h>#include<windows.h>int main(){ int mmm(int x,int y); //函数声明 int x; int y; int z; scanf("%d,%d",&x,&y); //输入时,两数以英文逗号分隔,如:3,5 z=mmm(x,y); //函数调用 printf("max=%d\n",z); system("pause"); return 0;} int mmm(int x,int y) //函数定义{ int z; if(x>y)z=x; else z=y; // system("pause"); return(z);}