Question: In Java: Program Specifications: -Write a program that does the following: Allows the user to determine how many random numbers between 1 and 100 are
In Java:
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). Print out the array Sort the array Print out the array Search the array for a number between 1 and 100display found or not found Display each number from 1 to 100 and the number of times found in the array Display the average of the numbers in the array Display the highest number in the array Display the lowest number in the array Everything should be done using METHODS NO NEED FOR A MENU SYSTEM. Just call the methods in the sequence above
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
Get step-by-step solutions from verified subject matter experts
