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.
#include
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started