Question: I have the following program below: Here it is in text form if you need it: #include #include #include #include #include void processAbsoluteValues(int i, int

I have the following program below:

I have the following program below: Here it is in text form

Here it is in text form if you need it:

#include #include #include #include #include

void processAbsoluteValues(int i, int j, double x, double y) { printf("Absolute value of %d is %d ", i, abs(i)); printf("Absolute value of %d is %d ", j, abs(j)); printf("Absolute value of %.2f is %.2f ", x, fabs(x)); printf("Absolute value of %.2f is %.2f ", y, fabs(y)); }

void processRoundValues(int i, double x) { printf("Round value of %d is %d ", i, (int)round(i)); printf("Round value of %.2f is %.2f ", x, round(x)); }

void processCeilingValues(double x, double y) { printf("Ceiling value of %.2f is %.2f ", x, ceil(x)); printf("Ceiling value of %.2f is %.2f ", y, ceil(y)); }

void processFlooringValues(double x, double y) { printf("Flooring value of %.2f is %.2f ", x, floor(x)); printf("Flooring value of %.2f is %.2f ", y, floor(y)); }

void processMinimunValues(int i, int j, double x, double y) { printf("Minimum value of %d and %d is %d ", i, j, fmin(i, j)); printf("Minimum value of %.2f and %.2f is %.2f ", x, y, fmin(x, y)); }

void processMaximunValues(int i, int j, double x, double y) { printf("Maximum value of %d and %d is %d ", i, j, fmax(i, j)); printf("Maximum value of %.2f and %.2f is %.2f ", x, y, fmax(x, y)); }

void processTrigFunctionsValues(double x) { printf("Cosine of %.2f is %.2f ", x, cos(x)); printf("Sine of %.2f is %.2f ", x, sin(x)); printf("Tangent of %.2f is %.2f ", x, tan(x)); }

void processExponentialValues(double x) { printf("Exponential value of %.2f is %.2f ", x, exp(x)); }

void processLogValues(double x) { printf("Natural logarithm of %.2f is %.2f ", x, log(x)); printf("Logarithm base 10 of %.2f is %.2f ", x, log10(x)); }

void processPowerValues(double x, double y) { printf("%.2f raised to the power of %.2f is %.2f ", x, y, pow(x, y)); }

void processSquareRootsValues(double x, double y) { printf("Square root of %.2f is %.2f ", x, sqrt(x)); printf("Square root of %.2f is %.2f ", y, sqrt(y)); }

void processRandomValues() { srand(time(0)); printf("Random number between 0 and 100: %d ", rand() % 100); }

void myName(char *name) { for (int i = 0; i

I am getting error messages on trying to compile it however, shown below:

if you need it: #include #include #include #include #include void processAbsoluteValues(int i,

I have already used several questions, with answers claiming that the program runs without errors, and I keep getting errors. Please help if possible. Thank you.

Compilation falled due to following error(s)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!