put lines 1 thru 8 in a header file
put the remainder in a .c file
at the top of the .c file include the header file that you created in the first step
create the make file

Once you do the above you need to finish writing the functions in the .c file. For example function tableAverage() is incomplete. You need to sum all the values in the array then divide the sum by the number of elements in the array.

You don't want to do that scanf() stuff because the array has already been filled in the TableFill() function. All you want to do here is just use a loop that counts from 0 to n and sum up the values that are in the array.

variables named sum and average will need to be double instead of int because the array is an array of doubles.

I also included two convenience operators for adding and assigning, the += and ++ operators. They do basically the same thing you were doing before, just shorter. Another option for making the code more concise, conventional, and readable might be using a counted loop and changing the variable names a bit:

That might not seem more readable to a beginner, but experienced C programmers will have an easier time with it than the while loop and unconventional variable names, which cause us to stumble a bit in terms of pattern matching.

printf("There are &d values greater than the average:\n");
tablePrintLarger(table, n);
printf("There are %d values less than the average:\n");
tablePrintSmaller(table, n);
}

I deleted the function tablePrint from the problem because I broke it down into these two. However, when I compile it give me a "conflicting types [enable by deafault problem] " and I assume that it is because I use the same (double a[], int num) for both of them. But I want to compare it with the num, or input, so I don't know what to substitute in.

I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...

Write a C program that should create a 10 element array of random integers (0 to 9). The program should total all of the numbers in the odd positions of the array and compare them with the total of the numbers in the even positions of the array and indicate ...