Sunday, July 21, 2013

Number Pattern

Number Pattern in C
Number Pattern-05
#include<stdio.h>
main()
{
    int i, j;
    for(i=1;i<=5;i++)
    {
        for(j=i;j<=5;j++)
        {
            printf("%d",j);
        }
        printf("\n");
    }
    return 0;
}

No comments:

Post a Comment