求两数最大值

来源:互联网 发布:购物车用数据库 编辑:程序博客网 时间:2024/06/14 10:09

不用if语句,switch语句

int func (inta,int b)

{

return ((a+b) + abs(a - b))/2;

}

0 0