use java Develop a program which allows the user to enter numbers into an array. Input will be as follows: The user will enter the total number of integers to be entered into the array. The user will then enter that number of unique integers (negative or positive). Do not allow the number of values entered to exceed the array size. Develop methods to: ‘main’ method. Print the array Sort the array ( YOU MUST DEVELOP YOUR OWN SORT METHOD – don’t use someone else’s) Determine the highest value Determine the lowest value Calculate the average value (double)

Question

use java

Develop a program which allows the user to enter numbers into an array. Input will be as follows: The user will enter the total number of integers to be entered into the array. The user will then enter that number of unique integers (negative or positive). Do not allow the number of values entered to exceed the array size.

Develop methods to: ‘main’ method.

Print the array Sort the array ( YOU MUST DEVELOP YOUR OWN SORT METHOD – don’t use someone else’s)

Determine the highest value Determine the lowest value

Calculate the average value (double)

Expert Answer

Want to see the step-by-step answer?

See Answer

Check out a sample Q&A here.

Want to see this answer and more?

Step-by-step answers are written by subject experts who are available 24/7. Questions are typically answered in as fast as 30 minutes.*

See Answer
*Response times vary by subject and question complexity. Median response time is 34 minutes and may be longer for new subjects.

Related Computer Science Q&A

Find answers to questions asked by student like you
Show more Q&A

Q: Prove that the following languages are not regular: (b) L = {anblak : k ≠ n + l}.

A: First, assume the given language is regular.Then apply pumping lemma to prove the statement is not r...

Q: Construct Turing machines that will accept the following languages on {a, b}: L = L (aaba*b).

A: Turing machine: Turing machine is a model of a hypothetical computing machine which can use a predef...

Q: 4.23 (Financial application: payroll) Write a program that reads the following information and print...

A: C code#include<stdio.h>#include<string.h> int main(){char employeeName[20]="";double hou...

Q: List the octal and hexadecimal numbers from 1410 to 3210. Using A and B for the last two digits, lis...

A: Answer:Listing octal values from 1410 to 3210:Divide 14 by 8 (octal number) giving 1 remainder 61 is...

Q: How to write a function in python that takes a string s = kkeeepinng and returns the non-repeating c...

A: Program plan:Inside the function, create two empty list named “dup_list[]” and “non_dup_list[]”.Use ...

Q: define virtual memory

A: Virtual memory, in context with computing, is memory management technique that is used by the operat...

Q: do big data could replace the artistic vision of a creative director? and why?

A: Justification:“Yes”, big data replace the artistic vision of a creative director.

Q: Write a complete C++ program that does the following:1. Create a 2-dimensional array with 8 rows and...

A: 1)Program plan:Declare the variables “rows” and “cols” as integerAssign “rows” to “8” and “cols” to ...

Q: Write a program called StudentTable that prints the below table. Use only print() orprintf(). DO NOT...

A: The program in Java would be using print and printf statements with formatting for left alignment of...