I have a list of 30 scores ranging from 0 to 49 that I need to sort into an array.

They need to be sorted as following:
frequencies(0) = scores < 10
frequencies(1) = scores >10 and <20
frequencies(2) = scores >20 and <30
frequencies(3) = scores >30 and <40
frequencies(4) = scores >40 and <50

so far, I have stored the text file into a temporary array and converted...