Search This Blog

If you like any posts in this blog then click this icon which is present under the post

Friday 22 July 2011

Control Structure


DECISION MAKING STATEMENTS

     Decision making statements are used to skip or to execute a group of statements based on the result of some condition. The decision making statements are,

1.       Simple if statements
2.       if……….else statements
3.       else……….if ladder
4.       nested if
5.       switch statement

LOOPING STATEMENTS
     
       Looping statements are used to execute a group of statements repeated until some condition is satisfied. The looping statements are,

1.       while  statement
2.       do…….while statement
3.       for statement


No comments:

Post a Comment

Followers