reset password
Author Message
rmoussa
Posts: 10
Posted 13:53 Feb 18, 2018 |

so it just came to my attention that when adding courses to a student's course schedule, I have to specify which student. I am trying to do that with nested for loops but it is not working any ideas on how to do that?

jhurley
Posts: 207
Posted 14:24 Feb 18, 2018 |

Choose the student from a list of students, then choose the course from the list of all courses.  There will be nested loops, but if you break the assignment down into correctly sized pieces, the

outer and inner loops will be in different methods (ie, the outer loop contains a call to a method that contains the inner loop)