Question: In C++ Write a function called fillArray that will fill an array of any constantly declared array size variable with random numbers in the range

In C++ Write a function called fillArray that will fill an array of any constantly declared array size variable with random numbers in the range of 1 - 100.

Write a function called printArray that will print an array of any size.

Write a third function called countEvens which will count and return the number of even numbers in the array.

In main create an array that holds 25 ints. Use your functions to fill, print, and count the number of even numbers. You should

Fill the array

Print the array

Print the number of even numbers in the array

What not to do:

global variables

cout in any function other than main and printArray

goto statements

Please don't forget countEvens

Your output should look like the following:

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!