Question: The first Array Assignment Java Program Outcome: Demonstrate the ability to use arrays Demonstrate the ability to sort and search arrays Demonstrate the ability to

The first Array Assignment Java Program

Outcome:

Demonstrate the ability to use arrays

Demonstrate the ability to sort and search arrays

Demonstrate the ability to use methods

Program Specifications:

Write a program that does the following:

Allows the user to determine how many random numbers between 1 and 100 are to be stored. In other words, the user could pick 10,500. You would generate and store 10,500 numbers randomly generated all between 1 and 100.

Declare an array that stores the random numbers (total determined by user).

Sort the array

Print out the array

Search the array for a number between 1 and 100, then display found or not found

Display each number from 1 to 100 and the number of times found in the array

Display the highest number in the array

Display the lowest number in the array

Everything should be done using METHODS

YOU CANNOT:

Use global variables

Use the word goto

Use the break command outside a case statement

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!