The Three basic programming control structures.
1) Conditional structure:
If and Else statement is used in the programming for conditional structures. This statement uses a specific condition check. If this condition is true the code following the If statement will be executed otherwise the Else portion will be executed. The Else part of the If state is optional. The syntax of this condition structure varies language to language.
2) Iteration structure:
Iteration structure or loops are used to repeat the instructions. There are mainly three types of loops available. For Loop, While Loop, do while loop. These loops repeat the instruction until a specific condition is true.
3) Jump statements:
These statements include Break, Continue and Goto instructions. These instruction jumps from one portion of the program to another portion of the program. The function calling can also be included in this category.
Source : Abadit Ali (Network Engineer) From www.blurtit.com
ไม่มีความคิดเห็น:
แสดงความคิดเห็น