Friday, 11 January 2019

Filled Under:

Pattern 6 using c[c programming examples with output]

C programming examples with output

Pattern


Program

#include<stdio.h>
#include<conio.h>
void main()
{
    int i,j;
    clrscr();
    for(i=5;i>=1;i--)
    {
        for(j=1;j<=5;j++)
        {
            printf("%d",i);
        }
            printf("\n");
     }
    getch();
}


0 komentar:

Post a Comment