A for loop is a loop in which a variable is incremented by a certain number of times. Each time the loop is executed, the Count variable will increase by one. You can use a for loop to count from one to ten. A simple for loop, on the other hand, counts from one to six, and exits before going up to ten. Then, a break statement exits the loop.