Question: 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
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 e You must write/use the following functions (you'll need to determine the parameter list and return value for each): getData0-fills in given array with data entered by the user printData0-prints given array values to the screen (space delimited) lowest Value0 returns the lowest value in the given array highest Value0 - returns the highest value in the given array . countOdds0 -returns the number of odd numbers in the given array sum0-ret turns the sum of all the values in the given array .getDuplicate Values 0 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: Ouiput to tie sereen should only be done in imain0 and paintDataO (and the prompt in gelDaia) 24
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
