Question: You need to use functions to solve the problem. I've written the main function and I call two functions that you will need to define,

 You need to use functions to solve the problem. I've written

You need to use functions to solve the problem. I've written the main function and I call two functions that you will need to define, fill_array and calculate_average. You need to define the functions at the location indicated. You may not alter the main function in any way. doing so will result in a zero on this assignment. For safety, here's a copy of the starter code: #include // Define fill_array and calculate_average here. int main(void) { float values [1000); int number_of_values, average_length; scanf("%d %d", &number_of_values, &average_length); fill_array(values, number_of_values); for (int start index 0; start index

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!