Write a C++ program that performs the following:
a. Declare a two arrays called arrayA and arrayB that holds integer and the size of each array is given
by the user (cin).
b. The main() program calls a function called fillArray(…) of type void to fill an array with a set
of generated random integers between low and high (both inclusive). This function should be called
twice to fill arrayA and then arrayB. (the values of High and low are read in the main() program.
c. The main() program calls another function called printArray (…) of type void to display the
elements of the array 5 elements per lines. This function should be called twice to print arrayA and
then arrayB.
d. The main() program calls another function called count (…) of type integer to count and return the
total number of integers greater than a value enter by the user.
e. Then the main() program calls another function called isSame( … ) of type boolean to check if the
two arrays arrayA and arrayB have the same element or not.
f. The main() program calls a function called findAverage(…) of type double that calculates and
returns average of all the values in arrayA.
g. Then, main() program calls a function called aboveAverage(…) of type integer that finds and
returns how many numbers in arrayB are above the average of the elements of arrayB