satisfy. In such a situation the programmer uses the control structure. There are various control structures sup-
ported by C++. P
rograms which use such(one or three) control structures are said to be structured programs.
The C++ control structure covers two sets of statements. The set that performs certain operations repetitively
is called as loop statements and the set that makes decision is known as decision-making statements.
11.2 DECISION-MAKING STATEMENTS
Following are decision-making statements.
1. The if statement
2. The switch case statement.
Simple if statement The syntax of simple if statement ...
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.