#include#includevoid main() { int i,j,k,s,n; printf(" ENTER THE NO OF ROWS"); scanf("%d",&n); for(i=1,s=n;i<=n;i++,s--) { for(k=1;k printf(" "); for(j=1;j<=i;j++) printf("%d ",j); printf("); } getch(); }