c program to print alphabet patterns

write a c program to print alphabet patterns
t
st
rst
qrst
pqrst

#include <stdio.h>

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