Write a java program to perform the following operations on an array 1. populate an array with 10 integers between -100 and 100 (not hard-coded) create a menu after populating the array to enable the user to select an option to perform 2. find and display the negative numbers in the array 4. display all odd numbers in the array 5. display all numbers in the array 6. display all numbers in the array in reverse order 7. display all 5 multiples 8. display the count of the negative numbers in the array 10 display the count of the positive numbers in the array submit the source code, and the output (make sure to label all outputs)

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter8: Arrays
Section: Chapter Questions
Problem 1GZ
icon
Related questions
Question

 

Write a java program to perform the following operations on an array

1. populate an array with  10 integers between -100 and 100  (not hard-coded)

create a menu after populating the array to enable the user to select an option to perform

2. find and display the negative numbers in the array

4. display all odd numbers in the array

5. display all numbers in the array

6. display all numbers in the array in reverse order

7. display all 5 multiples

8. display the count of the negative numbers in the array

10 display the count of the positive numbers in the array

submit the source code, and the output (make sure to label all outputs) 

 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 6 images

Blurred answer
Knowledge Booster
Array
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage