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

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

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!