I am working on a program that will grade tests and return the
test scores, the average, highest, and lowest scores, and will sort the scores from highest to lowest. The program allows the user to input answers for only one of the students, the rest of the student answers are hard-coded. I am having trouble with a null pointer exception on the line that says:
char studAns[][] = new char[][]
I am also unsure about the sorting method that I used, I have been having problems trying to find a simple sorting algorithm that will allow the data in the array to maintain it's same index number while being sorted.
here is the code
[ May 17, 2006: Message edited by: Jason Rod ]
[ May 17, 2006: Message edited by: Jason Rod ]
[ May 17, 2006: Message edited by: Jason Rod ]
[ May 17, 2006: Message edited by: Jason Rod ]