This is what i want to do, in pseudo code:
for each row i in the 2d array // that is for each student
set the total for the ith student to be 0
for each column j in the row // that is for each mark for the ith student
add the mark stored at row i column j to the total for the ith student // something like total += marks[i][j]
end for // where marks is the 2d array
output the total for the ith student
calculate and output the grade for the ith student
end for
I just cant put it in java.
Thanks.
Albert