Happy Labor Day!
This is a portion of the homework I am trying to do today. I just have a question on how to make this work.......
Specifically, construct a method that will take 2 parameters: an array of student names and an array of students grades where the arrays are parallel in the sense that a student's name and the student's grade are stored at the same index in the two arrays (at index i of the name array is the student's name and at index i of the grade array is that same student's grade.
Now, the question is.......... can I use a for loop UNDER a for loop to make the indexes equal? Here is what i have, I just want to know if this is on the right track....
for ( int b = 0; b < s.length; b ++) // outer loop for String array
for ( int c = 0; c < g.length; c++) // using same loop for  array at same time of String array
SameIndexg = g[c]; // stored the variable
SameIndexs = s[b]; // same thing