| The "+=" operator adds the value of the variable on the right to the current value of the variable on the left. The "-=" operator does the same thing, just with subtraction instead of addition.
In the example, if rowSum = 10 and data[row][col] = 14, the command "rowSum += data[row][col]" would make rowSum = 24. Get it? |