Learn
Great job! You completed the lesson on loops! 🙌
Key concepts covered in this lesson:
- Loops perform repetitive actions so we don’t have to code those actions manually every time.
- How to write
while
loops with a condition. - How to write
do-while
loops with a condition. - How to write
for
loops with a counter that increments or decrements. - How to
break
out of a loop. - How to
continue
a loop at any point.
Instructions
1.
Run the loop!
gcc congrats.c ./a.out
Take this course for free
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.