Question: ** java ** Write code to create a two-dimensional array named numbers containing 50 random numbers from 1 to 500 inclusive. The array has 5
** java **
Write code to create a two-dimensional array named numbers containing 50 random numbers from 1 to 500 inclusive. The array has 5 rows. Use the SecureRandom class for a random number generator. Display the array contents with 10 random numbers on each line. Format the numbers in right-aligned columns. You must use nested for loops. Use the command prompt window (terminal) for output. Note: do NOT create a class or main. Write ONLY the code described above.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
