Question: I need this in the C++ language Write a program (named arrayfun) that gets 10 integers from the user, stores them in an array, and

I need this in the C++ language Write a program (named arrayfun)I need this in the C++ language

Write a program (named arrayfun) that gets 10 integers from the user, stores them in an array, and then prints out: the entire array the lowest value in the array the highest value in the array the number of odd numbers in the array the sum of all the values in the array all the values that appear in the array more than once o * Details You must write/use the following functions (you'll need to determine the parameter list and return value for each) getData()-fills in given array with data entered by the user printData()-prints given array values to the screen (space delimited) o lowestValue0 - returns the lowest value in the given array * highestValue0 - returns the highest value in the given array countOdds0 - returns the number of odd numbers in the given array sum0 returns the sum of all the values in the given array - getDuplicateValues O o This will accept two arrays (one input and one output) and a size (of the arrays) o All the values that appear multiple times in the input array will be copied to the output array. o It will also need to return how many elements were placed in the output array any other functions you feel are usefulecessary. Note: Output to the screen should only be done in main() and printData0 (and the prompt in getData)

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!