Write a Java program that performs these operations Prompt t
Write a Java program that performs these operations:
Prompt the user to enter ten numbers
Print the numbers entered in the original order
Print the numbers entered in reverse order
When printing out the values, all the values should be in between square brackets [] and separated by a single space.
Solution
Here is the solution, also I am sorting it using selection sort.

