//根据输出结果,完成下面程序中max()函数的定义
#include <iostream.h>
int max(int x,int y,int z);
void main()
{
int a=34,b=56,c=78;
cout<<a<<"、"<<b<<"、"<<c<<"中的最大值为"<<max(a,b,c)<<endl;
}
int max(int x,int y,int z)
{
}
//程序的输出结果为:
//34、56、78中的最大值为78
人到中年有点甜
收到一只叮咚
随时随地看视频慕课网APP
相关分类