8.10 — For statements
By far, the most utilized loop statement in C++ is the for-statement. The (also called a ) is preferred when we have an obvious loop variable because it lets us easily and concisely define, initialize, test, and change the value of loop variables. As of C++11, there are two different …