PROGRAMMING FUNDAMENTALS 3.1
PROGRAM CONTROL STATEMENT Control statements or known as logical structure or control structure refer to the order of
execution of instructions in a program. In all examples, the instructions were executed sequentially one by one, from top downwards. Most real-life problems require decision making, comparing values, and based on the comparison certain action will be taken. C provides structure that will allow the non-sequential execution of program instructions such as, instructions can be executed, repeated, or skipped.
Figure 3.0: Program Control Statement
35 | P a g e
a
whole block
of