Originally Posted by
ColeTrain
Like i said. I cannot use separate classes, they must all be in one. My question is how can I go about sorting them... I don't have a clue how to sort the scores.
Originally Posted by
ColeTrain
I dont think so... because my sortArray method doesnt work how I thought it would...
I meant can you sort the numbers without the program. Just sort them. Think about how you would go about finding the largest or smallest number from all of them. Write down the steps necessary to sort numbers first, and then write code that performs those steps. You know how to sort numbers, and you know how to write code. The problem is you are trying to write code to solve a problem instead of writing code to perform steps that were designed to solve the problem.