This page contains an archived post to the Java Answers Forum made prior to February 25, 2002.
If you wish to participate in discussions, please visit the new
What an superb answer
Posted by Pravin Baadshah on July 17, 2001 at 6:53 AM
Put the entered values in an array and the copy that array into another array by using System.arraycopy( arr1, arr2 ), and then sort the first array. And for displaying the previous array show the second array. Thats all. How is it ?
> write a program that will allow you to enter 10 numbers from the keyboard, store them in an array, and display them in reverse order to how they were enters.