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.

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 ente

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site