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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.