Decision-making statements are needed to alter the sequence of statements in a program depending on
certain circumstances. In the absence of decision-making statements, a program executes in a serial fashion
on statement by statement basis, which have been presented in programs given in earlier chapters. This
chapter deals with statements that control the fl ow of execution on the basis of some decision. All the
control fl ow constructs have their conditions which return Boolean value. Depending on truth or falsity, the
decision is taken. Decision can be made on the basis of success or failure of some logical condition. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.