Question: The following question is for Advanced Object-Oriented. Please do the following question as instructed by the information. Keep it as simple as possible. Also if
The following question is for Advanced Object-Oriented. Please do the following question as instructed by the information. Keep it as simple as possible. Also if possible please provide comment lines as I can learn more about the subject.
The following instructions for this program:
Implement a function named initializeArray to initialize the array elements using user's integer inputs.
Implement a function named smallestValueOfArray to find out the smallest value in an integer array provided as a parameter.
Implement a function named averageOfArray to find out the average of all elements in an integer array provided as a parameter.
Implement a function named lowerElementsOfArray to find out the number of elements in an integer array provided as a parameter, which are less than a value provided as a parameter.
Implement a function named upperElementsOfArray to find out the number of elements in an integer array provided as a parameter, which are above a value provided as a parameter.
Test the above functions in the main function:
Read a list of 10 integer numbers from users input
Compute their smallest and average value
Find out how many numbers are above the average and how many are below the average.
==========================================================================
Keep it simple, no need for advance codes. Remember to use the an array in this program. This is all done in Visual Studio 2022 C++.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
