problem statement says abs deinition as follows but solution does not follow this. Is the definition of `abs`

is incorrect?

```
*abs(x) is absolute value of x and is implemented in the following manner : **
if (x < 0) return -x;
else return x;
```