Question: pls provide code in basic C and not C++ or C#... It's very important that the code be in int main(), pls pls pls. III.B.

pls provide code in basic C and not C++ or C#... It's very important that the code be in int main(), pls pls pls.
III.B. STATISTICS Consider two lists of n real numbers each, named X and Y X = x1, x2 , , xn The covariance of the lists, denoted cov(X, Y), is a real number that ".. provides a measure of the strength of the correlation. " between the two lists The covariance of X and Y is calculated as follows: cov(X, Y) = Here, T (pronounced "x-bar") is the mean of the values in the list named X, and likewise y is the mean of the values in the list named Y The mean of a list of number is defined as the sum of the numbers in the list, divided by how many numbers are in the list. So, for example, the mean of X is defined as Write a program to calculate the covariance of two lists of 4 numbers each. The program MUST incorporate the following subsections, IN THE FOLLOWING ORDER 1. Greeting Subsection: Greet the user with useful information about the program. 2. Input Subsection (a) Prompt the user to input the first list of 4 values Input the first list of 4 values, using a single scanf statement. (c) Prompt the user to input the second list of 4 values (d) Input the second list of 4 values, using a single scanf statement. 3. Calculation Subsection (a) Calculate the mean of the first list of 4 values (b) Calculate the mean of the second list of 4 values (c) Calculate the covariance of the two lists of 4 values each. 4. Output Subsection (a) Output the first list of 4 values (b) Output the second list of 4 values (c) Output the mean of the first list of 4 values (d) Output the mean of the second list of 4 values (e) Output the covariance of the two lists of 4 values each
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
