Question: In C programming: SHOW THE ENTIRE CODE you do for this to run and work Math library (HW) C includes a standard math library. Some
In C programming: SHOW THE ENTIRE CODE you do for this to run and work

Math library (HW) C includes a standard math library. Some examples #include // Must include math.h header! int main O double x -1.5; double y-2.0; printf printf printf printf printf ("X-991f ("x-% f ("x = % f ("X-% f ("X-%1f ceil(x)-%lf '', x, ceil(x) ); floor(x)-%lfNn", x, floor(x)); sqrt(x) -%1f ", x, sqrt(x) ); exp(x)-%1f ", x, exp(x)); log(x) -%lfNn", x, log(x) ); // 4.48 // 0.405 x-1.5; printf ("X-Klf printf ("x-Klf fabs(x) y-%lf -%lf ", x, fabs(x) x^y-KlAn", x, y, ); pon(x,y) ); // 2.25 HW Exercise 2.10: In mathproblem.c write a method that computes the sum for any input parameter n Note: To use the math library you must compile your code with the -1m flag. This should be at the end of your gcc command, e.g gcc mathprob Lem.c -o mathprob Lem-Lm