Adding to a 2D Array
<p>How would I go about adding two elements into a 2D Array while looping.</p>

<pre><code>for(...){
gradeArray[i][i] (gradeArray[95][5]  &lt;---- i = 0, gets the zero term for the grade and frequency 
gradeArray[i][i] (gradeArray[96][2] &lt;-----i = 1; gets the first term for the grade and frequency
</code></pre>
