Question: Create a Java Program that meets the following requirements: Generates numbers in the range of { 0 , 1 , dots, 9 9 } .

Create a Java Program that meets the following requirements:
Generates numbers in the range of {0,1,dots,99}.
Stores all random numbers in a 2D array. The dimensions of the array are 55.
Adds all of the even numbers to a distinct ArrayList.
Adds all of the odd numbers to a distinct ArrayList.
No even numbers are in the ArrayList for odd numbers and vice versa.
Displays the contents of all data structures to the console screen.
Flowchart:
Sample Run:
Random Numbers:
\table[[73,54,70,16,84],[55,58,7,4,77],[75,3,53,71,82],[29,46,32,44,36],[94,78,83,2,51]]
Even Numbers:
54,70,16,84,58,4,82,46,32,44,36,94,78,2,
Odd Numbers:
73,55,7,77,75,3,53,71,29,83,51,
 Create a Java Program that meets the following requirements: Generates numbers

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!