Okay I'm back. I am writing a program on averaging test scores of students. I am trying to use loops to input all of my data, however I am stuck on what that data will be stored as after all of the grades have been entered. For example, say I want to get the average grade of the entire class. If I have grade 1, 2, 3, and 4 entered by 4 different students, how would I input that into the program, as their would be 4 different grade 1's?
If you need the scores of only 1 student you need only 2 variables, one for the total where you add all the grades and one for the number of grades entered.