Offer

Pattern in c programming | Nested for loop in c language


For loop in C language , Pattern in C Programming :


Pattern in C programming Output :


Copy text from below : 

#include<stdio.h>

#include<conio.h>

int main()

{

    int i,j;

    for(i=1;i<=5;i++) //Loop 1

    {

        for(j=1;j<=i;j++) //Loop 2

        {

            printf(" * ");

        }

        printf("\n");

    }

}


For more program : 


Download pdf file : 



Post a Comment

0 Comments