H.Rahman H.Rahman - 8 months ago 46
C++ Question

Each number of students grades and average

I have been trying to get total and average of each student in a class. I write this c++ program but this problem keeps adding previous students total and average. So how do I solve this problem?
Here is the code


Before your j loop you want to reset average and total to be 0 again