My Sortscore function is creating an issue with my program where it changes everything to memory values so when I use the average function I no longer get a value I instead get a memory value.
What I'm trying to do with my code is sort the added test scores take the average.