Question: In C programming please and same output. I can put those files but I want the code Problem 2 (35 points): Develop a C program
Problem 2 (35 points): Develop a C program that processes a file called "fl.ixt" and "f2.ixt'" containing a sequence of real-valued numbers. Your program should calculate and display Mean of data from fl.txt Mean of data from f2.txt Standard Deviation of data from fl.txt Standard Deviation of data from fl.txt Correlation between the data contained in the files. Length is the number of data points in each of the files. You must use the following user-defined functions in your code #define SIzE 500 void read inp, int //read file read data from the text file pointed to by inp and keep all data points in the array z void calc mean( int length, double 20], double mean); //calc mean find mean of data points in the array z with number of elements length void calc std(int length, double zD1, double std); //calc std number of find standard deviation of data points in the array z with elements length Ifx and y are arrays containing the sequence of number that were read then corr(x, y) 500 sysx where 499 500 my T 500 mix 500 output (code execution): Mean of data in f1.txt is 2.03440 Mean of data in f2.txt is 3.01058 standard deviation of data in f1.txt is e.97672 Standard deviation of data in f2.txt is 1.0019e The correlation is 0.25396
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
