📅  最后修改于: 2022-03-11 14:59:36.884000             🧑  作者: Mango
/**
* C program to print number pattern
*/
#include
int main()
{
int i, j, N;
printf("Enter N: ");
scanf("%d", &N);
for(i=N; i>=1; i--)
{
for(j=1; j<=i; j++)
{
printf("%d", i);
}
printf("\n");
}
return 0;
}