This is a tutorial I wrote for a friend that missed this day in class. However, I would really like to expand upon it in the future, and ideally write a whole book teaching a language. For now though, here is an introduction to using for loops.
For Loops
Note: The example code I use below is Java. However, the only part that is Java is the commands inside the for loop. The actual format of the for loop can be expanded to many other languages where it is the same, such as C#, C++, C, Perl, and PHP.