Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Need assistance to write this in C/C++ Write a console program that reads in 100 integer values and places them in a 1D array. Break
Need assistance to write this in C/C++
Write a console program that reads in 100 integer values and places them in a 1D 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: -4 -28 -11 -3 -45 -48 6 -38 34 -3 -47 -27 18 47 19 -39 8 39 -43 -3 32 5 -29 -31 -10 -33 48 -45 -23 -6 -36 -32 -7 -43 30 -40 -36 38 6 16 35 9 -28 -13 -18 8 1 9 42 34 -9 10 44 -30 19 -44 33 -13 18 10 26 -8 -5 10 7 39 5 -15 -47 42 17 -45 8 -42 -18 14 29 -35 -23 38 22 -9 48 9 -38 -39 -28 24 -31 46 24 -15 39 -5 32 -46 -19 42 11 -9 Hint debug your program on a smaller set of numbersStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started