Hi,
when you have loops throughout a program, do people usually name the first index i, then the next j, etc, when the loops are in the same scope level? How about when the loops are in different scope levels--do you start over at i each time, so you have multiple loop indexes named i, j, etc., but they are in different scopes? Or do you never want to have loop indexes with the same names in a program, so you increment the loop name each time, so you never have two loop indexes with the same name such as two different i's in a program? Thanks!
Tags: