#include #include int main(){ int x,i,j; scanf("%d",&x); for(i=0;i<=x;i++){ for(j=0;j<=i-1;j++){ printf("%d",i); } printf("\n"); } system("pause"); }