C语言求两个整数中的绝对值较大者,怎么编写

如题所述

第1个回答  2017-06-10
int absolute_value_max(int x, int y)
{
return fabs(x)>fabs(y)?x:y;

}本回答被网友采纳