#include int abs(int n) { return (n < 0) ? -n : n; } double fabs(double x) { return (x < 0.0) ? -x : x; }