Question: In Java 11: Create an array generating random numbers, from 0 - 99, which can be ascended, descended or be in a random order desired

In Java 11:

Create an array generating random numbers, from 0 - 99, which can be ascended, descended or be in a random order desired by the user through command line argument!(DO NOT USE "SCANNER" TO GET USER INPUT, USE ARGS[0],ARGS[1],ARGS[2] for command line arguments!!!! )The size of the array (length) is also defined by the user through command line argument, when executing the java file like this:

java ProgramName size order outputFileName

The output file name is also for the SORTED list to be outputted into a .txt file after sorting in desired order! The bolded words are the user's inputs!

PLEASE give proper solution!!!

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!