Good work! The for
takes 3 arguments in the ()
. The first is initializing our variable for the condition. The second is the condition that we also had with the while
loop.
Finally, the change of the variable. This let's us carry out all instructions on our variable in one place, rather than throughout the block.
Nope, we want to increase i
right?