Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Codecademy

Learn C: Conditionals and Loops

via Codecademy

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn about conditionals and loops in C.
Continue your C learning journey! Writing programs that can handle decision-making sets you up to make powerful, interesting programs. You will also learn how to use `for` and `while` loops to execute the same code multiple times.



### Take-Away Skills
By the end of this course, you will be able to:
* Control the program flow using `if`, `else if`, `else`, `switch`, and ternary operators
* Perform repetitive actions using `for`, `while`, and `do-while` loops
* Recognize basic errors, including compile-time and run-time errors

### Notes on Prerequisites
We recommend that you complete [Learn C: Variables and Operators](https://www.codecademy.com/learn/learn-c-variables-and-operators) before completing this course.

Syllabus

  • Conditionals: Learn about conditionals in C.
    • Lesson: Conditionals: Lesson
    • Quiz: Conditionals: Quiz
    • Project: Dates and Switches
  • Loops and Errors: Learn about loops and errors in C.
    • Lesson: Loops: Lesson
    • Article: Errors in C
    • Quiz: Loops & Errors: Quiz
    • Project: Fizz Buzz
    • Informational: Next Steps

Taught by

Zoe Bachman

Reviews

4.7 rating at Codecademy based on 124 ratings

Start your review of Learn C: Conditionals and Loops

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.