Decision Structures Decision structure statements help us to jump from one part of the program to another part of program based on result of some conditions. Sometimes decision structure statements are also known as selective structures statements, branching statements or decision making statements. C language provides two basic types of decision structure statements: if and switch. The if Statement The if statement is one of the powerful decision making statement which can be used to transfer control of instruction execution. The if statement can be used in following different ways: Simple if statement if-else statement nested if statement and else-if ladder statement Simple if statement :- The simplest form of the decision structure statement is the if statement. It is frequently used in the program for decision making and allowing us to change the flow of program execution Nested if...else statement There are situations where we need to execute series of decisions in our progr...
All computer course for class 9th to 12th with proper practical and theory .........