use fabs() for floating point
n is an integer, use abs()
use fabs() for floating point
use fabs() for floating point