Question: C programming question. Read carefully and please if you cant comment what you're doing and unable to answer clearly respectfully please dont waste my opprtunity

C programming question. Read carefully and please if you cant comment what you're doing and unable to answer clearly respectfully please dont waste my opprtunity to learn......So I have the following function and as you can imagine compiling it with the data below it reads the data file and ignores the comment. Now I want to write a function int read_something(FILE *fp, double *height, double *weight); that reads the file and store height and weight info into the arrays so it returns the number of data items actually stored in the arrays. and also another function int average( double *x, int N, double *d); where x is the data array, N is the number of data item. So the function computes the average and standard deviation which are stored into d[0] and d[1] respectively.

C programming question. Read carefully and please if you cant comment what

you're doing and unable to answer clearly respectfully please dont waste my

#include #include #define MAX BUFFER 1024 4 5 int main(int argc, char targv[]) 7 8 9 10 FILE *fin; char buffer [MAX BUFFER] if (argc #include #define MAX BUFFER 1024 4 5 int main(int argc, char targv[]) 7 8 9 10 FILE *fin; char buffer [MAX BUFFER] if (argc

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!