if / else

Make decisions: test a condition and take the true or the false path, then chain choices with else if.

Lesson complete

Nice work. Replay it any time.

All courses

About this topic

Make decisions: test a condition and take the true or the false path, then chain choices with else if.

Part of C Programming & Pointers: 28 topics, 5 free.

More topics in this course