while loop ( simple)

 #include <stdio.h>


int main()

{ int number = 1  ;


    while (number <= 10)

    {printf(" %d ---- we are back\n " , number);

     number++;

        

    }


    return 0;

}

Comments

Popular posts from this blog

Factors : using C

Cross shaped pattern

Factorial ! calculation