Question: 5.(12 pts) Add a function prototype, function call statement and fu following program. The name of the void function that is to be added is

 5.(12 pts) Add a function prototype, function call statement and fu

5.(12 pts) Add a function prototype, function call statement and fu following program. The name of the void function that is to be added is FillArray function is to read in values from standard input (cin) to fill all of the array elements. . This The void function has the following two parameters: 1) An integer one-dimensional array 2) an integer value representing the number of array elements to read in n definition use a for loop to read in a value for each element/component of the array. Use cout to prompt for a value and cin for reading the value Assume that all values are entered correctly. #include using namespace std; const int NUM = 1000; // dimension size : number of values to read /I Place the function prototype below this line int main) int numbers [NUM] Il one-dim. Array for holding integers entered // Place the function call statement below this line return 0 /Place the function definition below this line

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!