Control Structures
Sequence control statements
This type of statements insured that the instruction in a program is executed in the same order. In which they appear in the program. |
An example of sequential Control Statements: |
![]() |
Out put of the program |
![]() |
Explanation of the program: |
There are three variable a, b, c is declared as int datatype the value of a=2, b=3 and the result of the sum is stored in the c variable which is 5. |