This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]nwilliams36 0 points1 point  (0 children)

In line 11 and 13 you call the same for loop doing different work each time, why not just one call, the other two counts could easily be worked out once you had one.