C++用宏定义MAX(a,b,c)求三个数最大值

来源:学生作业学帮网 编辑:学帮网 时间:2024/05/13 08:05:51

C++用宏定义MAX(a,b,c)求三个数最大值

#define MAX(a,b,c) (a>b?(a>c?a:c):(b>c?b:c))