NumberSort

Ratings: 1 Star2 Stars3 Stars4 Stars5 Stars (5.00 out of 5) - Rate Now!
Loading...

Download Category:

NumberSort.zip - (243.76 KB)
[
NumberSort/.classpath
NumberSort/.project
NumberSort/NumberSort.class
NumberSort/NumberSort.java
NumberSort/Question.txt
NumberSort/Screenshot_1.png
NumberSort/Screenshot_2.png
NumberSort/TEST CASES.docx
]

Write a Java application that allows a user to enter 10 numbers (double precision) into an array and then sorts and displays the numbers from lowest to highest. Remember that array addresses begin at 0, not at 1. You should use the Arrays.sort() method. Demonstrate your code compiles and runs without issue (You can use screen captures to demonstrate this functionality in a word document). Name your Java file Yournamehw3.java. Name your Word document Yournamehw3.doc (or Yournamehw3.docx)

Be sure to include comprehensive test cases to demonstrate your program is implemented correctly. Your test cases should include the input, expected output, actual output and if the test case passed or failed. You can document your test cases in a word table and include it in your word document submission. Test cases should include negative numbers, and numbers that are very close to each other (to test the sort). For example, -.001, -.0011,0.0,.001,.0011,.00111,.0010001,-999,999,999.00001

Get a fresh solution of this question. Ask it now to our experts.
doubt

Ask Your Question

We have verified professionals who are ready to answer your question.

time

Save Time and Money

We choose experts who can quickly answer your question and that suit your budget.

download

Get Your Answer

Your satisfaction is 100% guaranteed. You can keep on asking questions until you get the answer you need.