webfun-sept2017 / ryan_yamamoto_webfun9-2017

0 stars 0 forks source link

Students & Instructors - Grading #2

Open Makillya opened 7 years ago

Makillya commented 7 years ago

While this works, and it totally does, it's not optimal.

Hardcoding a line for each name works, but it's a lot of repetitive code. Using a for loop is a much better solution. Imagine if our array had 104 names in it instead of 4, building it this way would get pretty tiresome.

ryanyamz commented 7 years ago

updated using a loop