Question: Write a program to read list of 5 numbers into an integer array, compute the average and print out all numbers less than average. Modify

 Write a program to read list of 5 numbers into anWrite a program to read list of 5 numbers into an integer array, compute the average and print out all numbers less than average.

Modify the following program to input 5 numbers and print out all numbers less than avcrage scores.c * Synopsis - Accepts input of 5 integers from the keyboard into an array of ints. * Objective Illustrates basic array definition and *access of array elements. Include Files * #include int main( void) */ int test scores[10]; /* Note int i, avg, total -0; printf( "Please enter the 5 test scores now.In" ); for ( i = 0; i ", it l ); /* Note 3 */ scanf( "%d", &test-scores[i] ); /* Note 4 */ for (i 0;i

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!