program to print given number pattern

Write a c program to print given number pattern 
111111
22222
3333
444
55
6

#include <stdio.h>

int main()
{
    int k,j;
    for(j=1;j<=6;j++)
    {
        for(k=6;k>=j;k--)
        {
            printf("%d",j);
        }
        printf("\n");
    }
Copyright © C Program | Java | OpenGL Programming | Hadoop at Computaholics