Question: Can anyone help me write this code or point me in the right direction, thank you! I'm a beginner! Write a function called fillArray that
Can anyone help me write this code or point me in the right direction, thank you! I'm a beginner!
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
Code should have an output that looks like this:

C:AWINDOWSlsystem32\cmd.exe Printing the array 61 43 39 39 63 53 69 62 81 96 100 54 95 80 91 12 52 97 14 There are 9 even numbers in the array Press any key to continue
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
