Question: coding in C Write a console program that reads in 100 integer values and places them in a 10 array. Break the 100 element array
coding in C
Write a console program that reads in 100 integer values and places them in a 10 array. Break the 100 element array into 10 - 10 element arrays. Then sort the elements in each smaller array in smallest to largest order. Calculate the average of each small array and store the averages in an array of floats. print the original array print the 10 sorted arrays print the averages array use the following inputs: 32 35 -28 -11 -3 -45 -48 -4 6 -38 34 -3 -47 -27 18 47 19-39 8 3943 3 5 -29 -31 -10 -33 48 -45 -23 -6 -36 -32 -7 -43 30-40 -36 38 16 8 1 9 -28 -13 -18 9 42 34 -9 10 44 -30 18 19 -44 33 -13 10 -5 7 10 26 42 39 -8 -9 14 29-35-23 17 -45 5 -15 -47 8 -42 -18 39 46 24 -15 -5 32 46 -19 42 11 38 22 -9 9 -38 -39-28 24 -31 48 Hint - debug your program on a smaller set of numbers
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
