Write a program that creates a list of ten (10) random numbers between 0 and 100, and then sorts the numbers in increasing order. To create the random numbers, assume that your program can call a static method (or function) called Random.get(lower, upper) that returns a random number in the range lower to upper.
Write your own sort method – do not call any built-in sort routine. Print the list of numbers to the console before sorting and after. Divide the task into three or more methods -- one method to create the list, another to do the sorting, and a third method to print out the list, and a main method that calls the other methods in proper order.
2006-07-10
06:20:57
·
4 answers
·
asked by
ephity
1
in
Programming & Design