Control statements:
The control statement is nothing but, It
is used to control your program.
That means you are having the control
by how it executes based on logic and based on your requirements.
It is one of the decision makings
logic in the programming language.
Types of
control statement:
There are two types of control
statements,
1. Conditionalcontrol statement
1.1. Branching statements
*If statement
*If – else
statement
*Nested
if....else statement
*If ....else
ladder
*Switch case
1.2. Looping
statements
*While
*Do-While
*Loop
2. Unconditional control
statement
*Break
*Continue
*Goto
Note:
Each type have links, so please press
the link to learn deeply.
No comments:
Post a Comment