• Wednesday, 25 May 2016

    ~~ Looping Satement are the  staements excute one or more statements excute one or more statement repeatedly several number of time … that mean cycle system.

                         WE USE LOOP IN C---
                                   ** For loop
                                    ** while loop
                                 ** Do while loop



    -------------------------------------------------------------------------------------------------------------------------

    While loop:An while loop first cheak the condition if condition is true  then  goes to inside the loop body otherwiseh goes outsite of body.
    Syntax:


            
    ----------------------------------------------------------------------------------------------------------------------

    Do While Loop: It is similar to While loop, except that a do while loop is excute at leat one time.

    Syntax:
                     
    ---------------------------------------------------------------------------------------------------------------------------------
    For Loop: When we need to excute a block of code several number of times , this time we use for loop.

    Syntax:
                       

    HOW fOR LOOP EXCUTE :
    for(i=1;i<=100;i=i+1)  --- example.. prepared by... Md Mostafa kamal



    Post-by : Md:Mostafa Kamal                                              
                                                                                                                **  Computer programming LIVE**








    { 1 comments... read them below or add one }

  • - Copyright © Computer Programming LIVE - Powered by Nishi IT Ltd. - Designed by mostafa -