You now understand loops in C++.
while loops repeat while a condition is true
for loops are best when you know the count
do-while guarantees at least one execution
break exits loops early, continue skips to next iteration
Good job. You can now repeat code without copying it. Next, you will learn arrays to store multiple values.