Question: Please just explain what is the wrong things in this code and fix it, just fix it don't change the hole thing I'm tired of

 Please just explain what is the wrong things in this code
Please just explain what is the wrong things in this code and fix it, just fix it don't change the hole thing I'm tired of reposting the question several times, I'll be rating you answer so please do it correctly

5) The following function supposedly computes the sum and average of the numbers in the array a, which bas length n. Variables avg and sum point to variables that the function should modify. Unfortunately, the function contains several errors; find and correct them. void avg sum (double a0, int n, double 'avg, double *sum) int i sum 0.0; for (i 0; i

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!