Question: Q4. Complete the following program. //Program to find the average of 10 numbers using arrays C language #include #define SIZE 10 _Findaverage(int); //complete the prototype

 Q4. Complete the following program. //Program to find the average of

Q4. Complete the following program. //Program to find the average of 10 numbers using arrays C language #include #define SIZE 10 _Findaverage(int); //complete the prototype of the function int main() { int marks[SIZE], i, n, sum = 0, average; printf("Enter %d integer numbers: ", SIZE); for(i=0; i<_ scanf _. the values entered by user and store them in array printf call function pass to it average result is floating point number with precision of return findaverage m int s header sum="0;" avg should be real value for i="0;" integers variable find errors each following code segments correct it: size="10;" assume a char k st>

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!