Question: Task 1: Declare and fill an array with 500 random integers between 1-1000 Method 1: Create a method that will output all the integers in

 Task 1: Declare and fill an array with 500 random integers

between 1-1000 Method 1: Create a method that will output all the

Task 1: Declare and fill an array with 500 random integers between 1-1000 Method 1: Create a method that will output all the integers in the array. (Make sure output is clearly formatted. Add white space) Method 2: Create a method that will sum and output all the odd numbers in the arra Method 3: Create a method that will sum and output all the even numbers in the array Method 4: Create a method that will sum and output the mean average. y. Make sure you have a menu operating the program until user decides to exit Enter 1. Output all integer valuesi sequentialy >need access to all element Enter 2. Sum and output all odd numbers sequentiaily need access to all elements Enter 3. Sum and output all even numbers Sequentially > need access to al eleme Enter 4. Output mean average of all the Integers in the Array Sequentially-> need access to all element Enter 5. Output Middle Value in the Array

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!