Which Loop to Use?

Learn when to use "for" and when to use the "while" loop in the code.

We'll cover the following...

Discussion

for loops are great because they include the notion of counting by default, avoiding the problem of infinite loops. However, it means you have to know how many times you ...