#include using namespace std;int max(int x,int y){int z;if(x>y)z=x;else z=y;return (z);}
x,y是参数,需要和外部进行数据传递。z是函数里面的局部变量
x,y是函数的参数,z是计算结果