Zebra0.com

cppCompare for and while

Compare for and while

The for loop does 3 things for you: initialize, test, and increment the variable.