Im trying to have this program calculate the average of 5 values inputted by the user (using a vector to store values). theoretically this for loop should work fine, and the assignment to percentageGrade isn't wrong either. I'm outputting the value to a file, but for some reason only the first value i use gets outputted, am i missing something????
i've done similar calculations before and it was never an issue but i cant figure out why only the first value is seen. Thanks a bunch!

Im trying to have this program calculate the average of 5 values inputted by the user using a vector to store values theoretically this for loop should work fin class=
Im trying to have this program calculate the average of 5 values inputted by the user using a vector to store values theoretically this for loop should work fin class=
Q&A Education