Question: Write a program that asks the user to enter a specific number, then generates 1 0 0 random integers ( between 1 - 1 0
Write a program that asks the user to enter a specific number, then generates random integersbetween generates them all and adds them to an ArrayList, and prints the number of occurrences of the specific number, odd numbers, and even numbers to the screen. See the below example text shown in boldface is supposed to be user input
Create ArrayList with random integer numbers between
Print ArrayList
Sort Arraylist
Example Output:
Enter a number to search for:
ArrayList with random integer numbers between :
The number occurred times in your ArrayList.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
