c program to print given number pattern

Write a c program to print given number pattern
6
65
654
6543
65432
654321

#include <stdio.h>

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