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