Sort and search algorithms | Computer Science homework help

 

write a Java program that implements the Sorting algorithm. Your program will ask the user to input 10 numbers. The program will store these 10 numbers into an array and sort them in descending order (largest number to smallest). Then the program will output the numbers in the sorted array. The user must press “E” to exit the program.

Use the following videos as reference to assist you in the programming assignment:

https://www.youtube.com/watch?v=cqh8nQwuKNE

 

Assignment Expectations

  • Use GUI to get user input.
  • Demonstrate the ability to implement a sorting algorithm.
  • Apply repetition statement in the program.

Upload your program and a screenshot of the output to the Case 4 dropbox.