Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

NUMBER PATTERN_4

12345
1234
123
12
1






int main()
{
    int i, j;
    for(i=5;i>=1;i--)
    {
        for(j=1;j<=i;j++)
        {
            printf("%d",j);
        }
        printf("\n");
    }

    return 0;
}


This post first appeared on Programming With C And C++, please read the originial post: here

Share the post

NUMBER PATTERN_4

×

Subscribe to Programming With C And C++

Get updates delivered right to your inbox!

Thank you for your subscription

×