/* an example on using math functions in C++ */ #include #include using namespace std; /* define the constant pi */ const double PI = acos(-1.0); int main() { /* Declare variables. */ double x, y, z; cout << "absolute value of -3.4 =" << abs(-3.4) <