Question: Need help on C++ Homework. Thanks LaB aSSIGNMeNT Task 1: Main Function: Declare and fill an array with 1000 random integers between 1 - 1000

Need help on C++ Homework.

Thanks

Need help on C++ Homework. Thanks LaB aSSIGNMeNT Task 1: Main Function:

LaB aSSIGNMeNT Task 1: Main Function: Declare and fill an array with 1000 random integers between 1 - 1000 You will pass the array into functions that will perform operations on the array. Function 1: create a function that will output all the integers in the array. (Make sure output is clearly formatted. Function 2: create a Function that will sum and output all the odd numbers in the array. Function 3: create a Function that will sum and output all the even numbers in the array. Function 4: create a function that will allow the user to enter an integer value to search. Program will output if integer value is found and the location of the integer in the array. or The program will output "value is not in array". ("value is not in array should not be printed more than once.") enter 1. output all integer values enter 2. Sum all odd numbers enter 3. Sum all even numbers enter 4. enter a search value enter 5: exit attach a snipping photo of source code and output Make sure to display each function working

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!