c++ for loop

Initialize the loop counter variable. Specify the condition for the loop to continue executing. Define how the loop counter variable is updated after each iteration. Execute the statements within the loop.