I have to write a program that reads a file consisting of students' test scores in the range of 0-100. They are just listed in a .txt file.
I'm supposed to make a function called readScores that reads the test scores from a file into an array. How do i go about writing this function, I'm stuck. I'm confused with the array part and how to put it into the array. Thanks in advance.