Control Flow Statement:
1)It is to decide,which statememt has to be excuted in a program,and
in which order statement is to runs and how many times the
statement or block of codes has to be run
2)It has a 4 types
Decision making statement
Loop statement
Jumping statement
switchcase
Decision making statement:
1)At first it will check the condition,based on the condition it takes decision
2)It has a 4 types
if statement - if statement excute, when the if condition is true
else statement - else statement excute,when the if condition is false
else if statement-it is to check the multiple condition
switch case -It is to check the multiple values against a varialbe and
excute the matching value of the variable
Top comments (0)