3. Control Statements: Part I

Objectives

In this chapter you’ll:

Image Use the if selection statement and the if...else selection statement to select or skip actions.

Image Use the while repetition statement to execute statements in a program repeatedly.

Image Use counter-controlled repetition and sentinel-controlled repetition.

Image Use structured programming techniques. ...

Get C for Programmers with an Introduction to C11 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.