for loop

 welcome to  c language programming

for loop


#include <stdio.h>


int main()

{

    int i,j;

for(i=1 , j=10; ( i <= 10 && j >= 1) ;   i++,j--){

    printf("%d - %d - learning rock\n" , i,j);

}

    


    return 0;

}

Comments

Popular posts from this blog

Factors : using C

Cross shaped pattern

Factorial ! calculation