Question: in C program language I need you to write a program to generate a running average of my temperature data. The first (integer) input is

in C program language

in C program language I need you to write a program to

I need you to write a program to generate a running average of my temperature data. The first (integer) input is the number of data points (guaranteed to be less than 1000). The next (Integer) is the number of data points to be averaging together. The rest of the input are whitespace separated floats. Please output the running average with one point of precision, each on their own line. Example Input 104 279 317 29.56 35.7 38.5 41.6 50.6 48.6 557 60.4 Correct Output 312 339 36.3 41.6 44.8 49.1 538 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

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!