Question: Creates a 1 0 - element array ( either as a local variable or dynamic memory ) . Fills the array with random integers between

Creates a 10-element array (either as a local variable or dynamic memory).
Fills the array with random integers between 1 and 100 inclusiveCounts the number of even integers in the array.Prints to the console:The contents of the arrayNumber of even and odd numbers (if a number is not even, it is odd). Compile and run this program. Your output should look similar to this:
Array contents: 10189249341298536
This array has a total of 3 odd items and 7 even items.
In C++ please, and using namespace std, also please show put

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!