#include <stdio.h> int main() { int i,j,n=4; for (i=0;i<=n;i++) { for (j=0;j<=i;j++) { printf("%d",j+1); } printf("\n"); } return 0; }
To embed this project on your website, copy the following code and paste it into your website's HTML: