Control Structure

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

Creating Objects

Creating Objects                  Creating objects means to allocate memory space for all the instance variables of the objects. S...