Contact Learn C
Copy Program Share Program

Program 61:Numeric Pattern 3

Program 61:
 
#include<stdio.h>
main()
{
    int i,j,num,k,count;
    printf("Enter number of rows\n");
    scanf("%d",&num);
    count=num;
    for(i=1;i<=num;i++)
    {
    for(k=1;k<=count;k++)
    {
        printf(" ");
    }
        for(j=1;j<=i;j++)
        {
            printf("%d",j);
           
        }
        
    printf("\n");
    count--;
    }
}
Explanation:

  //Coming Soon...

 Output:

Numeric Pattern 3

Download App and Learn when ever you want

Get it on PlayStore
Get it on Amazon App Store
Get it on Aptoide