Question: Problem 4 - 25 points a. Write a function fillArray() that takes as parameters an array of integers and its size. The function fills the

Problem 4 - 25 points a. Write a function fillArray() that takes as parameters an array of integers and its size. The function fills the array with random numbers between 120 and 200. b. Write a function average Even() that takes as parameters an array of integers and its size. The function returns the average of array elements that are even. c. Write a function oddAndPrime() that takes as parameters an array of integers and its size. The function prints on the screen the array elements that are odd and prime. d. Write a C++ program that tests the above functions
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
